Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory(ui ui.UI) cli.CommandFactory
NewFactory returns a cli.CommandFactory for creating a new command.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command is the cli.Command implementation for semver command.
func (*Command) Help ¶
Help returns a long help text including usage, description, and list of flags for the command.
func (*Command) Run ¶
Run runs the actual command with the given command-line arguments. This method is used as a proxy for creating dependencies and the actual command execution is delegated to the run method for testing purposes.
Click to show internal directories.
Click to hide internal directories.