Documentation ¶
Overview ¶
package custom allows for the creation of a custom-branded CLI that packages together the kwil-cli, kwil-admin, and kwild CLIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCustomCmd ¶
func NewCustomCmd(cmdConfig CommonCmdConfig) *cobra.Command
Types ¶
type CommonCmdConfig ¶
type CommonCmdConfig struct { // RootCmd is the name of the command. RootCmd string // ProjectName is the name of the project, which will be used in the help text. ProjectName string // DefaultConfig is a function that allows the default configuration to be changed. DefaultConfig func(*config.KwildConfig) }
CommonCmdConfig configures the root command.
Click to show internal directories.
Click to hide internal directories.