Commit graph

374 commits

Author SHA1 Message Date
Kevin K
1a192521b6 docs(clap): fix typo core->std 2015-04-16 12:53:05 -04:00
Kevin K.
77fdd5ffa7 docs(12_TypedValues.rs): fix typo in trait name 2015-04-16 11:21:58 -04:00
Kevin K.
2b0b9ddfa0 docs(README.md): fix typos in the readme 2015-04-16 11:21:03 -04:00
Kevin K.
2215730158 docs(README.md): move video tutorials section 2015-04-16 11:01:24 -04:00
Kevin K.
2f688f8fa1 docs(README.md): clean up readme 2015-04-16 10:59:34 -04:00
Kevin K.
4ba3033676 docs(README.md): add link to new videos 2015-04-15 22:57:30 -04:00
Kevin K.
d516c37f63 docs(README.md): add link to new videos 2015-04-15 22:23:07 -04:00
Kevin K.
0322818073 docs(README.md): add details about the new video tutorials 2015-04-15 22:22:08 -04:00
Kevin K
d126cfdc69 chore(clap): rebuild docs with nightly rustdoc 2015-04-14 16:18:07 -04:00
Kevin K
c9f9e38377 chore(clap): increase version 2015-04-14 15:47:03 -04:00
Kevin K
1b06a0c56c docs(clap): rebuild documentation with new value_t macros 2015-04-14 15:44:52 -04:00
Kevin K.
90b7e76091 docs(README.md): add feature typed value macros 2015-04-14 14:44:44 -04:00
Kevin K.
b8a0edc380 Merge pull request #74 from kbknapp/macros
Adds convenience macros to get typed values

Closes #72
2015-04-14 14:42:39 -04:00
Kevin K
f246fa1778 docs(examples): add examples for value_t! and value_t_or_exit! macros 2015-04-14 15:37:21 -04:00
Kevin K
4057d34d93 docs(macros): add documentation covering value_t! and value_t_or_exit 2015-04-14 15:16:16 -04:00
Kevin K
0b87251fc0 feat(macros): add ability to get mutliple typed values or exit 2015-04-14 14:33:37 -04:00
Kevin K
e243fe38dd feat(macros): add ability to get a typed multiple values 2015-04-14 14:07:33 -04:00
Kevin K
4b7cd3ea49 feat(macros): add convenience macro to get a typed value or exit 2015-04-14 13:37:35 -04:00
Kevin K
8752700fbb feat(macros): add convenience macro to get a typed value 2015-04-14 12:14:17 -04:00
Kevin K
b67f2e537e docs(clap): fix failing doc tests 2015-04-13 22:26:41 -04:00
Kevin K
43955e8c48 chore(docs): rebuild documentation 2015-04-13 22:22:16 -04:00
Kevin K.
2b3d3fd901 chore(README.md): remove deprecated Arg::new() for Arg::with_name() 2015-04-13 22:21:44 -04:00
Kevin K
3c217b22b9 chore(docs): rebuild documentation 2015-04-13 22:19:29 -04:00
Kevin K
b389743672 docs(clap): improve examples and documentation as well as include new from_usage() features 2015-04-13 22:18:50 -04:00
Kevin K
72b315d792 chore(clap): increase version 2015-04-13 18:13:19 -04:00
Kevin K.
36160fc47f Merge pull request #71 from kbknapp/from-usage
trim whitespace before parsing on App::args_from_usage()
2015-04-13 17:12:30 -04:00
Kevin K
09497c916b docs(clap): improve readability of examples with App::args_from_usage() 2015-04-13 18:08:25 -04:00
Kevin K
91d2904599 fix(from_usage): trim all whitespace before parsing 2015-04-13 18:05:12 -04:00
Kevin K
b302b8bcd8 chore(clap): increase version 2015-04-13 15:39:24 -04:00
Kevin K
22163991da chore(docs): rebuild documentation with new from_usage features 2015-04-13 15:36:21 -04:00
Kevin K
0d3ecd8e83 docs(README.md): fix typos in the readme 2015-04-13 15:35:26 -04:00
Kevin K.
1bc802aa4b docs(README.md): fix typos in the readme 2015-04-13 14:29:40 -04:00
Kevin K.
1fcfc9cf27 docs(README.md): fix typos in the readme 2015-04-13 14:22:16 -04:00
Kevin K.
a4b0ce7426 docs(README.md): update readme examples with new from_usage() methods 2015-04-13 14:19:56 -04:00
Kevin K.
24dcc13b03 Merge pull request #70 from kbknapp/from-usage
Adds the ability to create args from a usage string
2015-04-13 14:07:11 -04:00
Kevin K
3710cd6916 fix(tests): fix failing doc tests 2015-04-13 15:03:22 -04:00
Kevin K
79e26a6b3e tests(clap-tests): add test support for new from_usage features 2015-04-13 14:59:34 -04:00
Kevin K
d5d48bcf46 feat(app): add support for building args from usage strings 2015-04-13 14:32:27 -04:00
Kevin K
ab409a8f1d feat(args): add ability to create basic arguments from a usage string 2015-04-13 13:31:14 -04:00
Kevin K
5fc6050ddf chore(docs): rebuild documentation with rustdoc nightly 2015-04-12 10:45:21 -04:00
Kevin K
3d960e8be0 docs(clap): clean up docs and add better explainations 2015-04-10 19:21:34 -04:00
Kevin K
2e3dc49a9a chore(clap): increase version 2015-04-10 12:00:58 -04:00
Kevin K
9f8fced0ab chore(docs): rebuild documentation 2015-04-10 11:55:20 -04:00
Kevin K.
76de2f553a Merge pull request #68 from kbknapp/usage
Improves ergonomics and performance of usage generation
2015-04-10 10:55:20 -04:00
Kevin K
dcbadc6275 perf(usage): remove compiler warnings and dedup some code 2015-04-10 11:50:08 -04:00
Kevin K
3636afc401 feat(usage): add ability to get usage string for subcommands too
You can now get the usage even for sub-commands by calling the
usage() method.

Breaking Change
ArgMatches::usage() now returns a slice (no longer an Option<&str>)
This is to improve ergonomics, as there should always be at least a
default usage statement, there should never be None
2015-04-10 10:49:12 -04:00
Kevin K
5137278942 fix(usage): remove unneeded space 2015-04-09 21:43:26 -04:00
Kevin K
ba817b9d81 fix(usage): remove warning about unused variables 2015-04-09 19:53:13 -04:00
Kevin K
be91c5f2f5 chore(clap): increase version 2015-04-09 18:49:59 -04:00
Kevin K
73ca72261e chore(docs): rebuild documentation with new features 2015-04-09 18:46:10 -04:00