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.goattach.gocheckout.gocreate.godescribe.goedit.gohome.goimport.golist.gomerge.goopen.goremove.gorun.gosync.go Click to show internal directories. Click to hide internal directories.