Documentation ¶
Overview ¶
Package helpers provides a way for sub-commands to register themselves with backend implementations.
Backend implementations MUST add the proper code to the AddCommand function in order to participate in this sub-command registration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommand ¶
func AddCommand(producers ...CommandProducer)
AddCommand adds Commands produced by producers to the set of backend sub-commands.
Types ¶
type CommandProducer ¶
CommandProducer produces new a Command instance that can be added to the set of backend sub-commands.
Click to show internal directories.
Click to hide internal directories.