jcli.commandgraph.cli

Undocumented in source.

Members

Functions

executeSingleCommand
int executeSingleCommand(string[] args)
int executeSingleCommand(string[] args, TErrorHandler errorHandler)

Don't forget to cut off the executable name: args = arg[1 .. $];

Mixin templates

SingleCommandMain
mixintemplate SingleCommandMain(TCommand)
Undocumented in source.

Templates

matchAndExecute
template matchAndExecute(alias bindArgument, alias Graph)

Constructs the graph of the given command types, ...

matchAndExecuteAcrossModules
template matchAndExecuteAcrossModules(Modules...)

Uses the bottom-up command gathering approach.

matchAndExecuteFromRootCommands
template matchAndExecuteFromRootCommands(alias bindArgument, RootCommandTypes...)

Uses the top-down approach, and the given bind argument function. You don't need to scan the modules to do the top-down approach.

Meta