Versions in this module Expand all Collapse all v0 v0.1.0 Feb 7, 2024 Changes in this version + func AddConfigFlag(fs *pflag.FlagSet, name string, watch bool) + func PrintConfig() + type App struct + func NewApp(name string, shortDesc string, opts ...Option) *App + func (a *App) Command() *cobra.Command + func (a *App) Run() + type CliOptions interface + Complete func() error + Flags func() cliflag.NamedFlagSets + Validate func() error + type HealthCheckFunc func() error + type Option func(*App) + func WithDefaultHealthCheckFunc() Option + func WithDefaultValidArgs() Option + func WithDescription(desc string) Option + func WithHealthCheckFunc(fn HealthCheckFunc) Option + func WithNoConfig() Option + func WithOptions(opts CliOptions) Option + func WithRunFunc(run RunFunc) Option + func WithSilence() Option + func WithValidArgs(args cobra.PositionalArgs) Option + func WithWatchConfig() Option + type RunFunc func() error