Commit graph

1746 commits

Author SHA1 Message Date
Kevin K
c630969aa3 feat(macros.rs): add macro to get version from Cargo.toml 2015-04-19 14:22:03 -04:00
Kevin K
d7bf519acf chore(clap): increase version 2015-04-18 22:32:29 -04:00
Kevin K
8cb133bf73 chore(docs): rebuild docs 2015-04-18 22:30:32 -04:00
Kevin K
86e4075eb1 fix(macros.rs): fix use statements for trait impls 2015-04-18 22:23:18 -04:00
Kevin K
e7f77353b9 refactor(macros.rs): improve trait implmentation readability 2015-04-18 22:20:43 -04:00
Kevin K
31b476ca99 refactor(arg.rs): remove deprecation warnings for stable rustc 2015-04-18 13:37:01 -04:00
Kevin K
bd10dadebe chore(docs): rebuild docs after refactor 2015-04-17 17:19:10 -04:00
Kevin K.
3a1daaf957 Merge pull request #77 from kbknapp/cleanup
refactor(clap): restructure matched args for performance and dedup
2015-04-17 16:18:05 -04:00
Kevin K
14d810d072 refactor(clap): restructure matched args for performance and deduplication 2015-04-17 17:11:10 -04:00
Kevin K
f0eea9da43 chore(clap): increase version 2015-04-17 11:23:19 -04:00
Kevin K
02aa217612 chore(docs): rebuild documentation 2015-04-17 11:21:29 -04:00
Kevin K.
35d40d97b7 docs(README.md): change section of typed values to add arg_enum! macro 2015-04-17 10:46:15 -04:00
Kevin K.
489be5427e Merge pull request #76 from kbknapp/enums
feat(macros): add ability to create enums pub or priv with derives
2015-04-17 10:21:46 -04:00
Kevin K
2c499f8015 feat(macros): add ability to create enums pub or priv with derives
Err type of FromStr trait changed from &'a str->String in order
to allow showing valid values on failed parse

Breaking Change
2015-04-17 11:17:19 -04:00
Kevin K.
424f2968af docs(README.md): add crates.io badge 2015-04-16 20:34:49 -04:00
Kevin K.
0ae14e0851 docs(README.md): add section for simple_enum! macro 2015-04-16 13:39:24 -04:00
Kevin K
6ec7a748f4 chore(clap): increase version 2015-04-16 14:25:20 -04:00
Kevin K
3ecbc4d159 chore(docs): rebuild documentation with new features 2015-04-16 14:23:06 -04:00
Kevin K.
69fd4ce1b2 Merge pull request #75 from kbknapp/examples
Add support for automatically implementing simple enums for use as types
2015-04-16 13:23:16 -04:00
Kevin K
fb672aff56 feat(macros): add macro to create custom enums to use as types 2015-04-16 14:21:32 -04:00
Kevin K
178c50ffe6 docs(examples): add example covering custom enums 2015-04-16 13:31:50 -04:00
Kevin K
484584148c chore(clap): rebuild documentation 2015-04-16 12:56:51 -04:00
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