Documentation
¶
Index ¶
- func DefaultHome() string
- func Hidden(cmd *cobra.Command) *cobra.Command
- type App
- func (app *App) Close() (err error)
- func (app *App) DefaultConfig() Config
- func (app *App) DefaultFormat(cmd *cobra.Command, format string)
- func (app *App) DefaultHome(cmd *cobra.Command, home string)
- func (app *App) Init(*cobra.Command, []string) error
- func (app *App) Register(f *pflag.FlagSet)
- func (app *App) Render(v interface{}) (err error)
- type Builder
- type CobraFunc
- type Config
- type Endpoint
- type Meta
- type Ref
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultHome ¶
func DefaultHome() string
Types ¶
type App ¶
type App struct { context.Context Home string Format string Raw bool Config Config Storage *storage.Gorm Client *bigstruct.Client }
func (*App) DefaultConfig ¶
Click to show internal directories.
Click to hide internal directories.