Commit Graph
7 Commits
Author SHA1 Message Date
Audrius Butkevicius fcc1613bb5 Do not show empty description section 2014-07-26 22:23:36 +01:00
Audrius Butkevicius 449f261ee9 Add App.RunAndExitOnError shortcut 2014-07-13 18:56:43 +01:00
Audrius Butkevicius 6f8cfa703a Add Args.Swap command for swapping arguments
The usecase:
my-cli user <USERID> set <FIELD> <VALUE>

Being able to swap <USERID> with set argument, we can have nested subcommands while preserving all variable arguments along the way.
2014-07-13 18:56:02 +01:00
Audrius Butkevicius 9e036e08f1 Fix tests 2014-07-13 18:52:30 +01:00
Audrius Butkevicius bc02933ea4 Fix Subcommand help text 2014-07-13 18:51:24 +01:00
Audrius Butkevicius d6d4e6448b Hide "Options" sections in help, if no flags are defined 2014-07-13 18:51:17 +01:00
Audrius Butkevicius 4a645835f0 Add HideHelp flag in App and Command 2014-07-13 18:51:09 +01:00