- abbrevations
string[] abbrevations()
Undocumented in source. Be warned that the author may not have intended to support it.
- add
typeof(this) add(Option option)
- add
typeof(this) add(Flag flag)
- add
typeof(this) add(Argument argument)
- add
typeof(this) add(Command command)
- arguments
Argument[] arguments()
- chain
string[] chain()
- commands
Command[string] commands()
- defaultCommand
typeof(this) defaultCommand(string name)
- defaultCommand
string defaultCommand()
- flags
Flag[] flags()
- fullNames
string[] fullNames()
Undocumented in source. Be warned that the author may not have intended to support it.
- name
typeof(this) name(string name)
- name
string name()
- options
Option[] options()
- parent
Command parent()
Undocumented in source. Be warned that the author may not have intended to support it.
- summary
typeof(this) summary(string summary)
Sets program summary (one-liner)
- summary
string summary()
- topic
typeof(this) topic(string topic)
Undocumented in source. Be warned that the author may not have intended to support it.
- topic
string topic()
Undocumented in source. Be warned that the author may not have intended to support it.
- topicGroup
typeof(this) topicGroup(string topic)
Undocumented in source. Be warned that the author may not have intended to support it.
- version_
typeof(this) version_(string version_)
- version_
string version_()
Represents a command.
Commands contain basic information such as name, version summary as well as flags, options, arguments and sub-commands.
Program is a Command as well, thus all methods are available in Program.