Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// Complete is the method where the option is extracting the data from the args and is setting its different attributes.
Complete(args []string) error
// Validate is ensuring that the different value of its attribute are coherent (when it makes sense).
Validate() error
// Execute is the method used by the command to actually run the business logic.
Execute() error
SetWriter(writer io.Writer)
}
Click to show internal directories.
Click to hide internal directories.