Documentation
¶
Index ¶
- type Actions
- func (a Actions) HelpFunc(cmd *spec.CommandItem)
- func (a Actions) IOStreams() gencli.IOStreams
- func (a Actions) OcliCheck(_ context.Context, args gencli.OcliCheckArgs, flags gencli.OcliCheckFlags) error
- func (a Actions) OcliGenCli(_ context.Context, args gencli.OcliGenCliArgs, flags gencli.OcliGenCliFlags) error
- func (a Actions) OcliGenDocs(_ context.Context, args gencli.OcliGenDocsArgs, flags gencli.OcliGenDocsFlags) error
- func (a Actions) UsageFunc(cmd *spec.CommandItem) error
- func (a Actions) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actions ¶
Actions implements the gencli Actions interface and can be passed via the gencli.Factory
func NewActions ¶
func (Actions) HelpFunc ¶
func (a Actions) HelpFunc(cmd *spec.CommandItem)
func (Actions) OcliCheck ¶
func (a Actions) OcliCheck(_ context.Context, args gencli.OcliCheckArgs, flags gencli.OcliCheckFlags) error
OcliCheck implements the `ocli check` command and uses the `validate` package to validate/check the specified document.
func (Actions) OcliGenCli ¶
func (a Actions) OcliGenCli(_ context.Context, args gencli.OcliGenCliArgs, flags gencli.OcliGenCliFlags) error
func (Actions) OcliGenDocs ¶
func (a Actions) OcliGenDocs(_ context.Context, args gencli.OcliGenDocsArgs, flags gencli.OcliGenDocsFlags) error
Click to show internal directories.
Click to hide internal directories.