Documentation ¶ Index ¶ func WithContext(runner func(context.Context, *zap.Logger) error) func(cmd *cobra.Command, args []string) error type App func NewApp(name, desc string) *App func (a *App) AddCommands(cmds ...*cobra.Command) func (a *App) Run() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WithContext ¶ func WithContext(runner func(context.Context, *zap.Logger) error) func(cmd *cobra.Command, args []string) error Types ¶ type App ¶ type App struct { // contains filtered or unexported fields } func NewApp ¶ func NewApp(name, desc string) *App func (*App) AddCommands ¶ func (a *App) AddCommands(cmds ...*cobra.Command) func (*App) Run ¶ func (a *App) Run() error Source Files ¶ View all Source files app.go cmd.go Click to show internal directories. Click to hide internal directories.