Documentation ¶ Index ¶ func AddCommandsTo(rootCmd *cobra.Command) func RunCompletion(cmd *cobra.Command, args []string) error type Module func NewModule() *Module func (m *Module) Name() string func (m *Module) RegisterCommands(rootCmd *cobra.Command) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddCommandsTo ¶ func AddCommandsTo(rootCmd *cobra.Command) func RunCompletion ¶ func RunCompletion(cmd *cobra.Command, args []string) error Types ¶ type Module ¶ added in v0.3.4 type Module struct{} func NewModule ¶ added in v0.3.4 func NewModule() *Module func (*Module) Name ¶ added in v0.3.4 func (m *Module) Name() string func (*Module) RegisterCommands ¶ added in v0.3.4 func (m *Module) RegisterCommands(rootCmd *cobra.Command) Source Files ¶ View all Source files completion.gocompletion_module.go Click to show internal directories. Click to hide internal directories.