v0.7.0
·
159 commits
to master
since this release
Enhancements
-
Added support for subcommands through new
SubCommands
UDA that can be used to specify subcommands in the parent command (onlySumType
is supported):@SubCommands SumType!(cmd1, cmd2) command;
-
New
CLI
template for mixingmain
(the original oneMain
will be removed soon):mixin CLI!Program.main!newMain; mixin CLI!(CMD1, CMD2, CMD3).main!newMain mixin CLI!(config, Program).main!newMain; mixin CLI!(config, CMD1, CMD2, CMD3).main!newMain
-
Command
UDA got newShortDescription
function to set a command description that's shown in "Available commands" section on help text of the parent command. -
Added support of multi-line argument description (i.e. those that has
'\n'
).
Breaking changes
ParseCLIResult
is renamed toResult
.