Commit graph

706 commits

Author SHA1 Message Date
Alexander Kuvaev
afaf198504 refactor(App): Now most parser function will return Result with Err...
... instead of hard exiting
2015-09-05 00:32:11 +03:00
Alexander Kuvaev
f5406076de Merge remote-tracking branch 'upstream/master' into report_error_refact 2015-09-04 22:58:25 +03:00
Kevin K
c279b800a2 chore: increase version 2015-09-04 14:19:55 -04:00
Kevin K.
29c1d566d3 Merge pull request #221 from kbknapp/coverage
Adds some additional tests, and makes a very small perf change to some internals
2015-09-04 14:13:55 -04:00
Kevin K
3cb4a48ebd perf: changes ArgGroup HashSets to Vec 2015-09-04 14:05:42 -04:00
Kevin K
e1694922f5 tests: adds test for ArgGroups 2015-09-04 13:58:00 -04:00
Kevin K
32044f26e0 tests: adds tests for PosBuilder Display 2015-09-04 13:29:57 -04:00
Kevin K
3a5bb17596 tests: adds tests for FlagBuilder Display 2015-09-04 13:29:45 -04:00
Kevin K
e27a3f3146 tests: adds tests for AppSettings FromStr 2015-09-04 13:16:24 -04:00
Kevin K
baab2e3f40 perf: changes BTreeSet for Vec in some instances 2015-09-04 13:04:24 -04:00
Kevin K
cfaae03b2a tests: adds tests for did_you_mean suggestions 2015-09-04 13:04:18 -04:00
Kevin K
63dbc5569f tests: adds tests for colored output 2015-09-04 11:59:33 -04:00
Alexander Kuvaev
f1c5bf5511 refactor(App): report_error refactoring 2015-09-04 00:51:37 +03:00
Alexander Kuvaev
9b6e3c0a5f Merge pull request #218 from Vinatorul/coveralls
Add coveralls
2015-09-03 21:46:34 +03:00
Alexander Kuvaev
13b844e4ae chore: add covealls badge 2015-09-03 20:54:42 +03:00
Alexander Kuvaev
1ff4b8f853 chore: add coveralls 2015-09-03 20:50:44 +03:00
Alexander Kuvaev
0fec3acfc9 Merge pull request #215 from Vinatorul/example_fix
Yaml example fix
2015-09-02 01:26:29 +03:00
Alexander Kuvaev
9b84862229 examples(17_yaml): fixed example 2015-09-02 01:09:08 +03:00
Alexander Kuvaev
f73742ad9e Merge pull request #214 from sru/benchmark
tests(benchmark): add more benchmarks
2015-09-01 22:37:52 +03:00
Kevin K.
612f79dae8 chore(README): fixes yaml example 2015-09-01 15:27:16 -04:00
SungRim Huh
f93dab93e0 tests(benchmark): add more benchmarks 2015-09-01 11:00:51 -05:00
Kevin K
f9e2b677dc chore: increase version 2015-09-01 00:28:44 -04:00
Kevin K
45613ac6dc docs(README): updates readme with yaml and new features 2015-09-01 00:28:33 -04:00
Kevin K
2e2baba226 Merge branch 'vin-issue-205' 2015-09-01 00:06:17 -04:00
Kevin K
82a09abb32 Merge branch 'issue-205' of https://github.com/Vinatorul/clap-rs into vin-issue-205 2015-09-01 00:05:54 -04:00
Kevin K
12e8cb452a Merge branch 'issue-80' 2015-09-01 00:03:49 -04:00
Kevin K
b17808ffbd Merge branch 'master' into issue-80 2015-09-01 00:03:16 -04:00
Kevin K
0e53642a85 chore: fixes .travis.yml for building with yaml feature of clap
Closes #80
2015-08-31 23:59:35 -04:00
Kevin K
ab41d7f382 docs(YAML): adds examples for using YAML to build a CLI 2015-08-31 23:57:35 -04:00
Kevin K
1a3c729e7f test(App from YAML): fixes yaml app declaration 2015-08-31 23:57:35 -04:00
Kevin K
19b348a100 docs(Args from YAML): fixes doc examples 2015-08-31 23:57:35 -04:00
Kevin K
ecf88665cb feat(ArgGroups): adds support for building ArgGroups from yaml 2015-08-31 23:57:25 -04:00
Kevin K
e415cf78ba feat(Subcommands): adds support for subcommands from yaml 2015-08-31 23:57:16 -04:00
Kevin K
86cf4c4562 feat(YAML): allows building a CLI from YAML files 2015-08-31 23:57:16 -04:00
Kevin K.
571a3516be Merge pull request #211 from kbknapp/issue-210
fix(Unified Help Messages): fixes a crash from this setting and no opts
2015-08-30 23:43:32 -04:00
Kevin K
169ffec100 fix(Unified Help Messages): fixes a crash from this setting and no opts
Closes #210
2015-08-30 23:36:04 -04:00
Kevin K
f482387544 refactor: breaks up app code into different files 2015-08-30 17:10:26 -04:00
Alexander Kuvaev
3805859469 Merge pull request #203 from sru/benchmark
tests(benchmark): Add build and clean parse benchmarks
2015-08-30 23:55:21 +03:00
Kevin K.
fce501c135 Merge pull request #209 from kbknapp/issue-204
refactor(Examples): corrects compiler warnings about names
2015-08-30 16:44:24 -04:00
Kevin K
8cbacd8883 docs(Examples): adds better usage examples instead of having unused variables 2015-08-30 16:29:45 -04:00
Alexander Kuvaev
9d808f2318 Merge pull request #208 from Vinatorul/issue-207
Fixed README.md and CONTRIBUTING.md
2015-08-30 23:13:39 +03:00
Kevin K
4f836ee5ef refactor(Examples): corrects compiler warnings about names
Closes #204
2015-08-30 15:43:57 -04:00
Alexander Kuvaev
d1ae96c341 chore: fixed README.md and CONTRIBUTING.md 2015-08-30 22:39:57 +03:00
SungRim Huh
866279aaaa tests(benchmark): Add benchmarks
single flag, option, positional, and complex arguments with and without subcommand.
2015-08-30 13:46:53 -05:00
SungRim Huh
80a05926bf tests(benchmark): Move repeating code to macro 2015-08-30 13:14:42 -05:00
Alexander Kuvaev
5a8e341e8e refactor(ArgGroup): changed Vec<&str> using to &[&str] 2015-08-30 20:22:26 +03:00
Kevin K
62297c7040 chore: adds tests and benches to exclude for crates.io 2015-08-30 00:24:14 -04:00
SungRim Huh
53671cf66b tests(benchmark): Add build and clean parse benchmarks 2015-08-29 23:03:11 -05:00
Alexander Kuvaev
ed3ca63c11 Merge pull request #198 from Vinatorul/tests_move
Moved tests from lib.rs to tests.rs and tests dir
2015-08-29 19:57:07 +03:00
Alexander Kuvaev
0cfecd328c tests: moved tests from lib.rs to tests.rs and tests dir 2015-08-28 21:48:37 +03:00