Kevin K
083f82d333
fix: allows empty values when using --long='' syntax
...
Closes #151
2015-07-08 14:57:28 -04:00
Kevin K
b20a93aa1e
chore: increase version
2015-07-07 20:20:45 -04:00
Kevin K.
6bb0576a72
Merge pull request #150 from kbknapp/issue-149
...
Issue 149
2015-07-07 20:14:38 -04:00
Kevin K
938f7f0134
docs(README.md): adds new features to what's new list
2015-07-07 20:14:23 -04:00
Kevin K
1528038fbb
chore: silence macro definition warnings
2015-07-07 20:06:15 -04:00
Kevin K
753125282b
feat: args can now be parsed from arbitrary locations, not just std::env::args()
2015-07-07 19:55:41 -04:00
Kevin K.
884bee3654
Merge pull request #148 from Keats/master
...
docs(readme): use with_name for subcommands
2015-07-06 23:33:26 -04:00
Vincent Prouillet
28b7e3161f
docs(readme): use with_name for subcommands
...
::new doesn't exist anymore
2015-07-07 04:27:53 +01:00
Kevin K.
d55c021528
Merge pull request #144 from SShrike/patch-1
...
docs: fixes typos
2015-06-30 05:51:24 -04:00
Severen Redwood
3e8891c00b
Fix typos in the documentation for the clap::App
struct
2015-06-30 19:47:57 +12:00
Severen Redwood
2614a0fa8c
Fix typos in the documentation for the .help()
method
2015-06-30 19:21:30 +12:00
Kevin K
4728dd67c5
chore: increase version
2015-06-29 22:29:01 -04:00
Kevin K.
853d62f553
Merge pull request #143 from kbknapp/issue-140
...
Issue #140 , #141 , and #85
2015-06-29 22:27:09 -04:00
Kevin K
ff149a29dd
docs: adds "whats new" section to readme
2015-06-29 22:22:13 -04:00
Kevin K
a5b8b3584b
test: fixes tests for 1.0 and deprecated functions
2015-06-29 22:21:47 -04:00
Kevin K
274484dfd0
imp: removes deprecated functions in prep for 1.0
2015-06-29 22:03:05 -04:00
Kevin K
d0da3bdd9d
feat: allows waiting for user input on error
...
In order to pause for user input on error use `.wait_on_error(true)` but
it's important to note that this is *not* recursive through subcommands.
This is useful on Windows when a user mistakenly opens an application by
double clicking it, instead of using the command line or if using a GUI
shortcut to run a program.
Closes #140
2015-06-29 21:59:26 -04:00
Kevin K
26d5ae3e33
feat(Help): allows one to fully override the auto-generated help message
...
Allows overriding the entire help message so that nothing is
auto-generated
Closes #141
2015-06-29 21:58:45 -04:00
Kevin K.
bf5fa2b71a
Merge pull request #142 from ivandmitrievsky/patch-1
...
chore(readme): fix minor typo
2015-06-29 19:50:50 -04:00
Ivan Dmitrievsky
279384b3e5
Fix minor typo in README
2015-06-29 21:41:29 +03:00
Kevin K
6e5896044a
chore: increase version
2015-06-16 20:57:36 -04:00
Kevin K.
214e6f7737
Merge pull request #139 from kbknapp/issue-138
...
Issue 138
2015-06-16 20:51:47 -04:00
Kevin K
ebf442ebeb
docs: updates docs to new version flag defaults
2015-06-16 20:46:11 -04:00
Kevin K
b2fab4652a
tests: updates version switch to new default
...
Closes #138
2015-06-16 18:13:07 -04:00
Kevin K
eb1d9320c5
feat(Help and Version): allows overriding h/v short and changes default ver short to -V
...
The new default short for version is `-V` (capital). This is a "breaking"
change at least for documentation.
If the old lowercase `-v` is desired you can manually override with
`App::version_short("v")`
The help short can also be overridden now too.
BREAKING CHANGE
2015-06-16 16:54:20 -04:00
Kevin K
bac6fb5665
chore: increase version
2015-06-06 17:13:36 -04:00
Kevin K
ab4b46b5fd
chore: increase version
2015-06-06 17:08:39 -04:00
Kevin K
1f377960a4
fix(Global Args): global arguments propogate fully now
...
Closes #137
2015-06-06 17:08:39 -04:00
Kevin K
245c218866
chore: increase version
2015-05-31 00:47:29 -04:00
Kevin K
a37842eec1
fix(Global Args): fixes a bug where globals only transfer to one subcommand
...
Closes #135
2015-05-31 00:45:07 -04:00
Kevin K
2b6b7ba693
chore: increase version
2015-05-30 13:15:33 -04:00
Kevin K
2191fe94bd
imp(Binary Names): allows users to override the system determined bin name
...
Allows users to use `.bin_name("name")` to override the system
determined name with one of their choosing.
Closes #134
2015-05-30 13:09:21 -04:00
Kevin K
6f76bd0a07
docs: adds contributing guidelines
2015-05-29 13:13:17 -04:00
Kevin K
7dd2391046
chore: increase version
2015-05-25 21:53:49 -04:00
Kevin K
29ca7b2f74
feat: can now specify that an app or subcommand should display help on no args or subcommands
...
Closes #133
2015-05-25 21:49:27 -04:00
Kevin K
42560e5f03
chore: increase version
2015-05-22 23:40:20 -04:00
Kevin K.
ace4f1acf8
Merge pull request #132 from kbknapp/next
...
Next
2015-05-22 22:38:15 -05:00
Kevin K
743eefe8dd
docs: updates for deprecations and new features
2015-05-22 23:32:56 -04:00
Kevin K
d6c3ed54d2
imp(Colors): implements more structured colored output
...
Closes #129
2015-05-22 23:01:20 -04:00
Kevin K
92fcec8fb7
chore: adds deprecations sections
2015-05-22 13:19:06 -04:00
Kevin K
c60e9183cc
tests(Global Args): adds tests for global args
2015-05-22 13:18:02 -04:00
Kevin K
2bcc6137a8
feat(Global Args): allows args that propagate down to child commands
...
Closes #131
2015-05-22 13:18:02 -04:00
Kevin K
28b7385552
depr(SubCommand/App): several methods and functions for stable release
...
SubCommand::new() -> SubCommand::with_name()
App::error_on_no_subcommand() -> App::subcommand_required()
2015-05-22 13:16:07 -04:00
Kevin K
ad4dd9d86e
chore(clap): increase version
2015-05-20 11:50:03 -04:00
Kevin K.
c75d3f4c2d
Merge pull request #128 from kbknapp/patch-124
...
fix(help): allows parent requirements to be ignored with help and ver…
2015-05-20 10:48:57 -05:00
Kevin K
52218cc1fd
fix(help): allows parent requirements to be ignored with help and version
...
Parent requirements are now ignored when the user requests help or
version switches
Closes #124
2015-05-20 11:17:30 -04:00
Kevin K
4708687711
chore(clap): increase version
2015-05-17 20:24:13 -04:00
Kevin K
08ba3f25cf
fix(help): fixes a bug where requirements are included as program name in help and version
2015-05-17 20:22:40 -04:00
Kevin K
a3ceb7ac0f
chore(clap): increase version
2015-05-17 18:26:03 -04:00
Kevin K.
90bb8d83df
Merge pull request #127 from kbknapp/rollup
...
Rollup of various improvements and fixes
2015-05-17 18:23:57 -04:00