Documentation ¶ Index ¶ func NewCommand(opts Options, children ...*cobra.Command) *cobra.Command func NewRootCommand(streams *genericclioptions.IOStreams) *cobra.Command type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewCommand ¶ func NewCommand(opts Options, children ...*cobra.Command) *cobra.Command func NewRootCommand ¶ func NewRootCommand(streams *genericclioptions.IOStreams) *cobra.Command Types ¶ type Options ¶ type Options interface { CommandName() string Complete(cmd *cobra.Command, args []string) error Validate() error Run() error } Source Files ¶ View all Source files add.go command.go generate.go new.go options.go root.go Directories ¶ Show internal Expand all Path Synopsis completion Click to show internal directories. Click to hide internal directories.