Documentation ¶ Index ¶ func New(version string) *cobra.Command func NewWithApp(version string, a *app.App) *cobra.Command func RenderExecutionError(cmd *cobra.Command, err error, args []string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(version string) *cobra.Command func NewWithApp ¶ func NewWithApp(version string, a *app.App) *cobra.Command func RenderExecutionError ¶ added in v0.8.0 func RenderExecutionError(cmd *cobra.Command, err error, args []string) RenderExecutionError writes one command execution error using the selected output format. JSON errors intentionally go to stdout for process consumers. Types ¶ This section is empty. Source Files ¶ View all Source files add.goapp.goauth.gocompletion.godelete.goedit.gohistory.goinit.gooutput.gopull.goswitch.gosync.go Click to show internal directories. Click to hide internal directories.