Documentation ¶ Index ¶ Variables func Add(base *cobra.Command, sub *cobra.Command) *cobra.Command func Build(base *cobra.Command, app *App) *cobra.Command type App func (app *App) Build() *cobra.Command Constants ¶ This section is empty. Variables ¶ View Source var Root = &cobra.Command{ Use: "gitflow", SilenceErrors: true, SilenceUsage: true, PersistentPreRun: func(cmd *cobra.Command, args []string) { if noColor { color.NoColor = true } }, CompletionOptions: cobra.CompletionOptions{ HiddenDefaultCmd: true, }, } Functions ¶ func Add ¶ func Add(base *cobra.Command, sub *cobra.Command) *cobra.Command func Build ¶ func Build(base *cobra.Command, app *App) *cobra.Command Types ¶ type App ¶ type App struct { Use string Desc string Repo *workflow.InitRepo Branch *workflow.InitBranch Actions []workflow.Action } func (*App) Build ¶ func (app *App) Build() *cobra.Command Source Files ¶ View all Source files app.go attach.go checkout.go create.go describe.go edit.go home.go import.go list.go merge.go open.go remove.go run.go sync.go Click to show internal directories. Click to hide internal directories.