Kevin K
f03b88a976
fix(Required Args): fixes a bug where required args are not correctly accounted for
...
Closes #343
2015-11-13 09:34:26 -05:00
Homu
31692c422c
Auto merge of #342 - kbknapp:readme_bug, r=kbknapp
...
chore: fixes a readme typo
2015-11-13 20:32:01 +09:00
Homu
61a9c66cfb
Auto merge of #341 - kbknapp:v1.5, r=Vinatorul
...
V1.5
2015-11-13 19:04:14 +09:00
Kevin K
b3aa117dae
chore: fixes a readme typo
2015-11-13 01:31:11 -05:00
Kevin K
37bfffc375
chore: increase version
2015-11-12 23:01:13 -05:00
Kevin K
3359683380
refactor(Defaults): derives traits instead of manual implementation
2015-11-12 22:43:37 -05:00
Homu
e4182ad950
Auto merge of #339 - kbknapp:cleanup, r=Vinatorul
...
Huge Cleanup
Various cleanups and refactorings, the biggest of which (so far) is error handling, although I'm not 100% sure if I'm happy with the implementation yet or not. It's a big improvement from previous versions, but I think it can get better.
~~**DO NOT MERGE**~~
2015-11-13 06:29:41 +09:00
Kevin K
e7715f1df1
chore: adds perf graphs
2015-11-12 10:16:22 -05:00
Kevin K
8202c30a96
chore: adds benches to travis for nightly
2015-11-11 10:26:05 -05:00
Kevin K
8988853fb8
imp(ArgMatcher): huge refactor and deduplication of code
...
Tons of code has been moved into functions, deduplicated, made much
easier to read, maintain, and understand. Comments still need to be
added, but that will happen shortly. Modules have also been moved around
to follow Rust conventions and best practices.
All functionality remains exactly the same
2015-11-11 10:26:05 -05:00
Kevin K
5800cdec6d
imp(Traits): refactoring some configuration into traits
...
There is now an AnyArg trait which lets you (clap dev, not consumer) get
info about certain args regardless of their type. Allows more generic
and de-duplicated code
2015-11-11 08:48:34 -05:00
Kevin K
1fdecfd519
style: moves mod names to follow rust standards
2015-11-09 07:17:23 -05:00
Kevin K
f5bfb41bf1
refactor: moves value validation out of App and into Option Args
2015-11-09 03:49:20 -05:00
Kevin K
1b69ca4bee
refactor: moves code for ergonomics
2015-11-09 03:48:49 -05:00
Kevin K
bf4d8417b8
style: rustfmt run
2015-11-09 02:22:12 -05:00
Kevin K
c6858f7875
fix: fixes a bug with required positional args in usage strings
2015-11-09 02:01:21 -05:00
Kevin K
447786ed8a
refactor(Usage): fixes some error handling duplication
2015-11-08 09:55:02 -05:00
Kevin K
a4ef0fab73
docs(FAQ): updates readme with slight changes to FAQ
2015-11-08 09:02:08 -05:00
Kevin K
ddc650ea87
tests: adds diff to tests to find errors
2015-11-08 03:50:33 -05:00
Kevin K
bc4495b32e
perf(App): more BTreeMap->Vec, Opts and SubCmds
2015-11-08 03:48:13 -05:00
Kevin K
d357640fab
perf(App): changes flags BTreeMap->Vec
2015-11-08 01:50:12 -05:00
Kevin K
78971fd68d
perf(App): removed unneeded BTreeMap
2015-11-08 01:08:06 -05:00
Kevin K
64b921d087
perf(App): changes BTreeMap to VecMap in some instances
2015-11-08 01:01:11 -05:00
Kevin K
111745c937
chore: updates clippy
2015-11-07 00:08:15 -05:00
Kevin K
2b6d1dc3c3
chore: dep update
2015-11-04 03:00:53 -05:00
Kevin K
cdc29175bc
imp: massive errors overhaul
2015-11-03 08:26:17 -05:00
Kevin K
ea4740ca3b
tests(Errors): improves error testing
2015-11-03 08:26:17 -05:00
Homu
e70b289c5e
Auto merge of #338 - kbknapp:issue-335, r=Vinatorul
...
tests(Exit Codes): adds some formatting and exit code testing
Relates to #335
Notably missing thing such as testing `AppSettings`
2015-11-03 20:24:58 +09:00
Homu
c070bc7c69
Auto merge of #337 - kbknapp:1.4.7, r=kbknapp
...
chore: increase version
2015-11-03 17:35:30 +09:00
Homu
acf3f75088
Auto merge of #336 - kbknapp:issue-333, r=kbknapp
...
fix(Error Status): fixes bug where --help and --version return non-ze…
…ro exit code
Closes #333
2015-11-03 17:05:22 +09:00
Kevin K
e59bc0c160
imp(Errors): errors have been vastly improved
2015-11-03 02:09:49 -05:00
Kevin K
ec0089d42e
perf(App): removed excess clones
2015-11-03 02:07:57 -05:00
Kevin K
19538b9c22
chore: fixes features declarations
2015-11-03 01:59:08 -05:00
Kevin K
b261783c71
refactor(UsageParser): moves code for readability
2015-11-03 01:59:08 -05:00
Kevin K
a4c6272e38
tests(Exit Codes): adds some formatting and exit code testing
2015-11-03 01:03:02 -05:00
Kevin K
4767834113
chore: increase version
2015-11-02 23:23:27 -05:00
Kevin K
89b51fdf8b
fix(Error Status): fixes bug where --help and --version return non-zero exit code
2015-11-02 22:56:05 -05:00
Homu
c748cef855
Auto merge of #334 - ogham:master, r=Vinatorul
...
Fix a bunch of typos in comments
Hi,
I went through and fixed a few typos in comments here and there. I've changed the comments in the code, and the readme, but nowhere else. No code has changed other than doc comments, and the tests still pass!
2015-11-02 23:17:55 +09:00
Ben S
00b61ae226
Fix a bunch of typos in comments
2015-11-01 14:02:37 +00:00
Homu
aa02706d04
Auto merge of #332 - jimmycuadra:arg-docs, r=kbknapp
...
Improvements to clap::Arg docs
Some fairly minor improvements to the docs for `Arg`. Some typo fixes, and more substantially, rewritten docs for the `multiple` method to clarify that it does actually work alongside `takes_value` and how the two behave together.
2015-10-30 14:46:55 +09:00
Jimmy Cuadra
434f497ab6
docs: Clarify behavior of Arg::multiple with options.
2015-10-29 22:40:47 -07:00
Jimmy Cuadra
c1f66b5de7
docs: Fix typos and improve grammar.
2015-10-29 22:40:10 -07:00
Homu
7c55a92321
Auto merge of #331 - kbknapp:v1.4.6, r=kbknapp
...
chore: increase version
2015-10-29 20:38:05 +09:00
Homu
e047ab4fca
Auto merge of #330 - kbknapp:issue-329, r=kbknapp
...
Issue 329
2015-10-29 18:22:18 +09:00
Homu
8a59c3f1d6
Auto merge of #328 - kbknapp:lints-update, r=kbknapp
...
Lints update
2015-10-29 15:55:38 +09:00
Kevin K
fd10aa7d64
chore: increase version
2015-10-29 01:36:12 -04:00
Kevin K
62679d8d8a
chore: adds new contributors
2015-10-29 01:14:22 -04:00
Kevin K
1a8bf31e7a
docs: adds comparison in readme
...
Closes #325
2015-10-29 01:07:43 -04:00
Kevin K
27df8b9d98
fix(Versionless SubCommands): fixes a bug where the -V flag was needlessly built
...
Closes #329
2015-10-29 00:23:09 -04:00
Kevin K
e639adad22
style: removes commented out code
2015-10-28 11:00:31 -04:00