Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCommandText ¶
func InitCommandText(commands []Command)
InitCommandText returns a help text for the user at the command line.
func StartCommandLine ¶
StartCommandLine executes and initializes the entire command line routine of the application
Types ¶
type Command ¶
type Command interface { Name() string Example() string Help() string LongHelp() string Register(*flag.FlagSet) Run() }
Command is an interface responsible for setting the default format for the command line
type UserCommand ¶
UserCommand is a standardized structure for command line calls
func ArgumentsFilter ¶
func ArgumentsFilter(commands []string) UserCommand
ArgumentsFilter is responsible for standardizing the call of users
Click to show internal directories.
Click to hide internal directories.