commands/issue/board/board.go (18 lines of code) (raw):

package board import ( "github.com/spf13/cobra" "gitlab.com/gitlab-org/cli/commands/cmdutils" boardCreateCmd "gitlab.com/gitlab-org/cli/commands/issue/board/create" boardViewCmd "gitlab.com/gitlab-org/cli/commands/issue/board/view" ) func NewCmdBoard(f *cmdutils.Factory) *cobra.Command { issueCmd := &cobra.Command{ Use: "board [command] [flags]", Short: `Work with GitLab Issue Boards in the given project.`, Long: ``, } issueCmd.AddCommand(boardCreateCmd.NewCmdCreate(f)) issueCmd.AddCommand(boardViewCmd.NewCmdView(f)) issueCmd.PersistentFlags().StringP("repo", "R", "", "Select another repository using the OWNER/REPO format or the project ID. Supports group namespaces") return issueCmd }