argparse

Undocumented in source.

Members

Aliases

CLI
alias CLI(COMMANDS...) = CLI!(Config.init, COMMANDS)
Undocumented in source.
RawParam
alias RawParam = Param!(string[])
Undocumented in source.

Functions

Action
auto Action(ARG arg)
Undocumented in source. Be warned that the author may not have intended to support it.
AllowNoValue
auto AllowNoValue(ARG arg)
Undocumented in source. Be warned that the author may not have intended to support it.
AllowedValues
auto AllowedValues(ARG arg)
Undocumented in source. Be warned that the author may not have intended to support it.
ArgumentGroup
auto ArgumentGroup(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
Command
auto Command(string[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
Counter
auto Counter(ARG arg)
Undocumented in source. Be warned that the author may not have intended to support it.
MutuallyExclusive
auto MutuallyExclusive()
Undocumented in source. Be warned that the author may not have intended to support it.
NamedArgument
auto NamedArgument(string[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
NamedArgument
auto NamedArgument(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
Parse
auto Parse(ARG arg)
Undocumented in source. Be warned that the author may not have intended to support it.
PositionalArgument
auto PositionalArgument(uint pos)
Undocumented in source. Be warned that the author may not have intended to support it.
PositionalArgument
auto PositionalArgument(uint pos, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
PreValidation
auto PreValidation(ARG arg)
Undocumented in source. Be warned that the author may not have intended to support it.
RequireNoValue
auto RequireNoValue(ARG arg)
Undocumented in source. Be warned that the author may not have intended to support it.
RequiredTogether
auto RequiredTogether()
Undocumented in source. Be warned that the author may not have intended to support it.
Validation
auto Validation(ARG arg)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIArgs
deprecated auto parseCLIArgs(T receiver, string[] args, Config config)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIArgs
deprecated auto parseCLIArgs(T receiver, string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIArgs
deprecated Nullable!T parseCLIArgs(string[] args, Config config)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIArgs
deprecated Nullable!T parseCLIArgs(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIArgs
deprecated int parseCLIArgs(string[] args, FUNC func, Config config, T initialValue)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIArgs
deprecated int parseCLIArgs(string[] args, FUNC func)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIKnownArgs
deprecated Result parseCLIKnownArgs(T receiver, string[] args, string[] unrecognizedArgs, Config config)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIKnownArgs
deprecated Result parseCLIKnownArgs(T receiver, string[] args, string[] unrecognizedArgs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIKnownArgs
deprecated auto parseCLIKnownArgs(T receiver, string[] args, Config config)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIKnownArgs
deprecated auto parseCLIKnownArgs(T receiver, string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIKnownArgs
deprecated Nullable!T parseCLIKnownArgs(string[] args, Config config)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIKnownArgs
deprecated Nullable!T parseCLIKnownArgs(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIKnownArgs
deprecated int parseCLIKnownArgs(string[] args, FUNC func, Config config, T initialValue)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCLIKnownArgs
deprecated int parseCLIKnownArgs(string[] args, FUNC func)
Undocumented in source. Be warned that the author may not have intended to support it.
partiallyApply
auto partiallyApply(C context)
Undocumented in source. Be warned that the author may not have intended to support it.
printHelp
void printHelp(Output output, Config config)
Undocumented in source. Be warned that the author may not have intended to support it.
printUsage
void printUsage(Output output, Config config)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Config
struct Config
Undocumented in source.
Default
struct Default(COMMAND)
Undocumented in source.
Main
deprecated struct Main
Undocumented in source.
Param
struct Param(VALUE_TYPE)
Undocumented in source.
Result
struct Result
Undocumented in source.
SubCommands
struct SubCommands
Undocumented in source.
TrailingArguments
struct TrailingArguments
Undocumented in source.

Templates

CLI
template CLI(Config config, COMMANDS...)
Undocumented in source.
CLI
template CLI(Config config, COMMAND)
Undocumented in source.
CLI
deprecated template CLI(Config config)
Undocumented in source.

Variables

param
auto param;
Undocumented in source.
res
auto res;
Undocumented in source.
target
auto target;
Undocumented in source.

Meta