Commit graph

972 commits

Author SHA1 Message Date
Alexander Kuvaev
7fdcb4761a tests: Added requirement override tests 2015-09-06 22:34:37 +03:00
Alexander Kuvaev
952fa4d246 tests: conflict override tests 2015-09-06 22:22:37 +03:00
Alexander Kuvaev
7e3e696471 tests: Add sub_command_negate_requred false-negative test 2015-09-06 22:13:16 +03:00
Alexander Kuvaev
a4a00b03e3 tests: add tests for flag and groups conflicts 2015-09-06 13:46:58 +03:00
Kevin K.
a7eb9519b3 Merge pull request #226 from Vinatorul/dev
Updated How to Contribute
2015-09-05 23:37:29 -04:00
Alexander Kuvaev
ecc084e32c chore: updated How to Contribute 2015-09-06 02:08:54 +03:00
Alexander Kuvaev
71dedcae3f Merge pull request #225 from Vinatorul/doc_fix
Changed examples content
2015-09-06 01:53:50 +03:00
Alexander Kuvaev
b9ca261634 docs(ClapErrorType): changed examples content 2015-09-06 01:44:20 +03:00
Alexander Kuvaev
fddd67615a Merge pull request #224 from Vinatorul/doc_fix
Fixed ClapErrorType docs
2015-09-06 01:18:28 +03:00
Alexander Kuvaev
dd05784327 docs: fixed ClapErrorType docs 2015-09-06 01:12:46 +03:00
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