Documentation ¶
Overview ¶
This 'cli' package contains small command library. It define 'Command' interface with one method which each command needs to implement. It provides framework 'Commander' with which one can register all commands. 'Commander' also takes care of executing the command.
This package should not use other package from this project. This package itself as small lib in this project.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commander ¶
type Commander struct {
// contains filtered or unexported fields
}
func NewCommander ¶
func (*Commander) ServeCommand ¶
Click to show internal directories.
Click to hide internal directories.