Documentation ¶
Overview ¶
Package cmd provides commands for running the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCobraCommand ¶ added in v0.4.0
NewCobraCommand returns a configured cobra command that serves as entry point to the vending CLI.
Types ¶
type Option ¶ added in v0.4.0
type Option = func(cb *builder)
Option is used to apply customizations to the cmdBuilder.
func WithCommandName ¶ added in v0.4.0
WithCommandName option customizes the name of the command.
func WithDebugFlag ¶ added in v0.4.4
WithDebugFlag is used to customize the debug flag variable.
func WithPreset ¶ added in v0.4.0
WithPreset is used customizes the Preset that will be used.
Click to show internal directories.
Click to hide internal directories.