Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenOptions ¶
GenOptions is an option struct to support 'gen' sub command.
func NewGenOptions ¶
func NewGenOptions() *GenOptions
NewGenOptions returns an initialized GenOptions instance.
func (*GenOptions) Complete ¶
func (o *GenOptions) Complete(cmd *cobra.Command, args []string) error
Complete completes all the required options.
func (*GenOptions) Run ¶
func (o *GenOptions) Run(args []string) error
Run executes a new sub command using the specified options.
Click to show internal directories.
Click to hide internal directories.