- add
typeof(this) add(T data)
Proxy call to Command.add returning Program.
- add
typeof(this) add(Command command)
Undocumented in source. Be warned that the author may not have intended to support it.
- author
typeof(this) author(string author)
- authors
typeof(this) authors(string[] authors)
- authors
string[] authors()
- binaryName
typeof(this) binaryName(string binaryName)
- binaryName
string binaryName()
- defaultCommand
typeof(this) defaultCommand(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- defaultCommand
string defaultCommand()
Undocumented in source. Be warned that the author may not have intended to support it.
- name
typeof(this) name(string name)
- name
string name()
- summary
typeof(this) summary(string summary)
Sets program summary (one-liner)
- summary
string summary()
Program summary (one-liner)
- topic
typeof(this) topic(string topic)
Sets topic group for this command.
- topic
string topic()
Topic group for this command.
- topicGroup
typeof(this) topicGroup(string topic)
Sets topic group for the following commands.
- version_
typeof(this) version_(string version_)
- version_
string version_()
- name
typeof(this) name(string name)
- name
string name()
- version_
typeof(this) version_(string version_)
- version_
string version_()
- summary
typeof(this) summary(string summary)
Sets program summary (one-liner)
- summary
string summary()
- add
typeof(this) add(Option option)
- options
Option[] options()
- add
typeof(this) add(Flag flag)
- flags
Flag[] flags()
- add
typeof(this) add(Argument argument)
- arguments
Argument[] arguments()
- add
typeof(this) add(Command command)
- commands
Command[string] commands()
- defaultCommand
typeof(this) defaultCommand(string name)
- defaultCommand
string defaultCommand()
- topicGroup
typeof(this) topicGroup(string topic)
Undocumented in source. Be warned that the author may not have intended to support it.
- 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.
- chain
string[] chain()
- parent
Command parent()
Undocumented in source. Be warned that the author may not have intended to support it.
- fullNames
string[] fullNames()
Undocumented in source. Be warned that the author may not have intended to support it.
- abbrevations
string[] abbrevations()
Undocumented in source. Be warned that the author may not have intended to support it.
Represents program.
This is the entry-point for building your program model.