Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MockCommand ¶
MockCommand creates a mock command with the given flags and parses the supplied arguments.
func NewSessionContext ¶
NewSessionContext creates a new context with a cli.Session attached to it. The session is connected to the given server.
Types ¶
type CommandRecorder ¶
func NewCommandRecorder ¶
func NewCommandRecorder() *CommandRecorder
NewCommandRecorder creates a new command recorder.
func Record ¶
func Record(cli *cli.Command) *CommandRecorder
Record creates a new command recorder and sets it as the writer for the given command.
Click to show internal directories.
Click to hide internal directories.