Commit graph

420 commits

Author SHA1 Message Date
Kevin K
28691b52f6 fix(help): fix formatting of help and usage 2015-04-01 13:22:53 -04:00
Kevin K
bddf50e810 chore(clap): increase version 2015-04-01 13:22:53 -04:00
Kevin K
6ec1011563 fix(help): fix formatting of help for flags and options
When options or flags have varying lengths of names and "long" version
the formatting gets corrupted because of the use of tabs. This commit
fixes those issues.
2015-04-01 13:22:53 -04:00
Kevin K
c0ef006861 chore(clap): increase version 2015-04-01 13:22:53 -04:00
Kevin K
297ddba770 feat(help): add '...' to indicate multiple values supported 2015-04-01 13:22:53 -04:00
Kevin K
fb3ccd7aaf docs(clap): rebuild documentation 2015-04-01 13:22:52 -04:00
Kevin K
cdc32eb469 chore(clap): increase version 2015-04-01 13:22:52 -04:00
Kevin K
b7fa72d40f feat(positionals): add assertions for positional args with multiple vals 2015-04-01 13:22:42 -04:00
Kevin K
8078400941 feat(positionals): add support for multiple values
Add support for #44 (multiple values for positional arguments) when the
positional argument is the last one (i.e. highest index)
2015-04-01 13:02:58 -04:00
Kevin K
f244ca6f9a chore(clap): increase version 2015-04-01 13:02:46 -04:00
Kevin K
da549dcb6c fix(apps): allow use of hyphens in application and subcommand names 2015-04-01 13:01:00 -04:00
Kevin K
c214f72fb1 chore(clap): increase version 2015-04-01 13:00:48 -04:00
Kevin K
d2ee5359c8 docs(README.md): update the readme 2015-04-01 13:00:33 -04:00
Kevin K
0a09eb365c fix(args): determine if the only arguments allowed are also required 2015-04-01 12:57:26 -04:00
Kevin K
62ec95aa1d docs(examples): add examples on default values and specific value sets 2015-04-01 12:57:26 -04:00
Kevin K
ee8e0f0046 docs(clap): rebuild documentation 2015-04-01 12:56:48 -04:00
Kevin K
70ecb0a0e5 chore(clap): increase version 2015-04-01 12:56:34 -04:00
Kevin K
270eb88925 feat(args): add support for a specific set of allowed values on options
or positional arguments
2015-04-01 12:56:34 -04:00
Kevin K
bcd1fa728e docs(clap): rebuild documentation 2015-04-01 12:50:48 -04:00
Kevin K
16a609183a chore(clap): increase version 2015-04-01 12:50:35 -04:00
Kevin K
1b7316d4a8 fix(usage): display required args in usage, even if only required by others 2015-04-01 12:50:35 -04:00
Kevin K
20f3e773e3 chore(CHANGELOG): update changelog 2015-04-01 12:47:56 -04:00
Kevin K
4ee023442a feat(subcommands): properly list subcommands in help and usage
SubCommands should be listed as parent-subcommand in help, but parent
subcommand in usage
2015-04-01 12:47:55 -04:00
Kevin K
ad43f3a5ea docs(clap): rebuild documentation 2015-04-01 12:46:38 -04:00
Kevin K
24ec2da5bf chore(clap): increase version 2015-04-01 12:46:25 -04:00
Kevin K
1cf73817d6 fix(tests): remove cargo test from claptests makefile 2015-04-01 12:45:47 -04:00
Kevin K
fb403da00a docs(README.md): update readme 2015-04-01 12:45:30 -04:00
Kevin K
28811d8324 docs(README.md): update help info 2015-04-01 12:43:34 -04:00
Kevin K
6bed75a136 docs(README.md): update the readme 2015-04-01 12:43:09 -04:00
Kevin K
726ef3f297 docs(clap): rebuild documentation 2015-04-01 12:42:08 -04:00
Kevin K
012ff7f8a9 chore(clap): increase version 2015-04-01 12:41:54 -04:00
Kevin K
9af52e93ce fix(option): fix bug with option occurrence values 2015-04-01 12:39:23 -04:00
Kevin K
d8f03a55c4 fix(tests): fix testing script bug and formatting 2015-04-01 12:38:50 -04:00
Kevin K
3834433c20 test(clap): add automated tests 2015-04-01 12:37:48 -04:00
Kevin K
9e8c1fb940 feat(arg): allow lifetimes other than 'static in arguments 2015-04-01 12:36:41 -04:00
Kevin K
76f015e5c8 Added initial version of test script 2015-03-26 14:21:55 -04:00
Kevin K
8de3908458 Fixed tests makefile and script 2015-03-26 14:20:55 -04:00
Kevin K.
b8f42fa824 Merge pull request #32 from kbknapp/dev
Fixes for print_help()
2015-03-26 11:00:29 -04:00
Kevin K
564b1db183 removed unneeded ref in print_help() for options 2015-03-26 11:48:36 -04:00
Kevin K
de64e3d79f Removed extra tab when printing help 2015-03-26 11:25:54 -04:00
Kevin K.
10d7908f53 Changed to online repo 2015-03-26 09:52:20 -04:00
Kevin K.
f27548044c Merge pull request #31 from kbknapp/dev
Rollup of dev branch
2015-03-25 21:56:09 -04:00
Kevin K
201d400787 fixed claptests cargo.toml 2015-03-25 21:49:57 -04:00
Kevin K
83b1ee8c3a Adding tests 2015-03-25 21:48:56 -04:00
Kevin K
bf28d969f8 Working on adding tests 2015-03-25 21:45:53 -04:00
Kevin K.
28a89b8ec2 Update Makefile 2015-03-25 20:50:25 -04:00
Kevin K.
42c83f19c8 Using real place holder values to keep travis-ci builds from failing 2015-03-25 20:45:51 -04:00
Kevin K
b84a9df863 Fixed Makefile typo 2015-03-25 17:08:45 -04:00
Kevin K
3f134896f8 Changed cargo placeholder format of claptests 2015-03-25 17:05:47 -04:00
Kevin K
0cce6b8715 Adding tests 2015-03-25 17:02:21 -04:00