Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommandBuilder ¶
func AddCommandBuilder(f CommandBuilder)
AddCommandBuilder takes the provided function and adds it to the list of commands that will be added to the root command when it is built.
func NewCommand ¶
func NewCommand(cfg *config.ProjectConfig) *cobra.Command
NewCommand builds the config subcommand.
Types ¶
type CommandBuilder ¶
type CommandBuilder func(*config.ProjectConfig) *cobra.Command
CommandBuilder is a function that takes the project config as an argument and returns a cobra command.
Click to show internal directories.
Click to hide internal directories.