Commit graph

1612 commits

Author SHA1 Message Date
Alexander Kuvaev
f3b99fc4e7 Merge pull request #223 from Vinatorul/safe_funcs
Added ability for users to handle errors themselves
2015-09-06 01:01:43 +03:00
Alexander Kuvaev
934e6fbb64 feat(App): Added ability for users to handle errors themselves
Now you can use get_matches_safe instead of get_mathces if you want
to handle errors yourself.

This will allow now to write false-negative tests and check what type
of error occurs
2015-09-06 00:17:32 +03:00
Kevin K.
11451b91f7 Merge pull request #219 from Vinatorul/report_error_refact
report_error refactoring
2015-09-05 13:30:36 -04:00
Alexander Kuvaev
f99fadae0c Merge branch 'master' into report_error_refact 2015-09-05 00:44:44 +03:00
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
Kevin K.
f1d5d09d4e Merge pull request #222 from kbknapp/depgraph-update
chore: updates clap dep graph
2015-09-04 16:21:55 -04:00
Alexander Kuvaev
f5406076de Merge remote-tracking branch 'upstream/master' into report_error_refact 2015-09-04 22:58:25 +03:00
Kevin K
906df9d037 chore: updates clap dep graph 2015-09-04 15:58:08 -04: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