Kevin K
760d66dc17
docs(Compatibility Policy): adds an official compatibility policy to
...
Closes #740
2016-11-20 09:30:56 -05:00
Richard Petrie
bc2552f505
Corrected name of tests folder
...
Unsure why these are wrong, but simple fixes
2016-11-12 01:08:54 -06:00
Richard Petrie
98c5e21634
Further address #708
...
21fba9e
only resolved the version issue in the subcommand, not on the package. Credit to @tvannahl
2016-11-12 00:55:25 -06:00
Kevin K
475c21814e
chore: increase version
2016-11-05 19:58:30 -04:00
Kevin K
1118cc08fa
chore: increase version
2016-11-01 23:33:53 -04:00
Kevin K
e55e82a418
chore: increase version
2016-11-01 16:28:15 -04:00
Kevin K
518f57744a
chore: increase version
2016-10-31 00:41:14 -04:00
Kevin K
21fba9e6cd
docs(README.md): fixes failing yaml example ( #715 )
...
Close #708
2016-10-29 10:59:41 -04:00
Kevin K
dbe60fc779
chore: increase version
2016-10-27 22:03:46 -04:00
Kevin K
2663ba7743
chore: increase version
2016-10-25 10:37:57 -04:00
Kevin K
0e2ea1c88b
chore: increase version
2016-10-24 05:59:07 -04:00
Kevin K
0bf82e5448
chore: increase version
2016-10-23 19:36:51 -04:00
Kevin K
e1ad987be3
chore: increase version
2016-10-21 13:28:24 -04:00
Kevin K
fbfa019241
chore: update version
2016-10-20 19:47:51 -04:00
tormol
cd516006e3
imp: Stabilize clap_app!
...
It was de-stabilized in 2.0.0 but hasn't been changed since.
This commit also updates docs to reflect that the "unstable" feature does nothing now.
2016-10-16 21:33:52 +02:00
tormol
4ee85b95d2
docs: Improve documentation around features
...
* Clap has dependencies even with all features disabled.
* The "nightly" feature does nothing, so don't mention it.
* Explain the difference between "unstable" and "nightly" better.
* Split features into groups (default, opt-in, clap-development).
* For contributors: update what tests should be run, and remove make command.
* Removes a repeated word and splits up some long markdown lines.
Also groups features by category and dependencies by feature in Cargo.toml.
2016-10-16 11:31:12 +02:00
Kevin K
bbe457e993
chore: increase version
2016-10-04 21:20:35 -04:00
Kevin K
aad171d3e1
chore: increase version
2016-09-18 16:01:27 -04:00
Kevin K
325610eb04
docs: updates README.md with new website information and updated video tutorials info
2016-09-18 16:01:27 -04:00
Kevin K
44742844bc
chore: increase version
2016-09-12 23:28:12 -04:00
Kevin K
fd4414768d
chore: increase version
2016-09-12 21:59:46 -04:00
Kevin K
aded9abdc5
chore: increase version
2016-09-07 17:40:38 -04:00
Kevin K
e4f194c82b
chore: increase version
2016-09-05 20:16:09 -04:00
Kevin K
c28d093076
chore: increase version
2016-09-05 17:06:41 -04:00
Kevin K
b7793a2f4d
Issues rollup ( #637 )
...
* feat: adds App::with_defaults to automatically use crate_authors! and crate_version! macros
One can now use
```rust
let a = App::with_defaults("My Program");
// same as
let a2 = App::new("My Program")
.version(crate_version!())
.author(crate_authors!());
```
Closes #600
* imp(YAML Errors): vastly improves error messages when using YAML
When errors are made while developing, the panic error messages have
been improved instead of relying on the default panic message which is
extremely unhelpful.
Closes #574
* imp(Completions): uses standard conventions for bash completion files, namely '{bin}.bash-completion'
Closes #567
* imp(Help): automatically moves help text to the next line and wraps when term width is determined to be too small, or help text is too long
Now `clap` will check if it should automatically place long help
messages on the next line after the flag/option. This is determined by
checking to see if the space taken by flag/option plus spaces and values
doesn't leave enough room for the entirety of the help message, with the
single exception of of if the flag/option/spaces/values is less than 25%
of the width.
Closes #597
* tests: updates help tests to new forced new line rules
* fix(Groups): fixes some usage strings that contain both args in groups and ones that conflict with each other
Args that conflict *and* are in a group will now only display in the
group and not in the usage string itself.
Closes #616
* chore: updates dep graph
Closes #633
* chore: clippy run
* style: changes debug header to match other Rust projects
* chore: increase version
2016-08-27 23:42:31 -04:00
Kevin K
03209d5e13
docs: moves docs to docs.rs
...
Closes #634
2016-08-27 11:16:35 -04:00
Kevin K
f7c787c1ce
chore: increase version
2016-08-25 18:52:15 -04:00
Kevin K
57690b2af1
chore: allows wrapping help on windows
2016-08-24 22:04:19 -04:00
Kevin K
84ad746ee5
chore: increase version
2016-08-24 21:55:01 -04:00
Kevin K
8ecb02d0b4
chore: increase version
2016-08-21 20:46:57 -04:00
Kevin K
fcb049f937
chore: increase version
2016-08-20 20:11:11 -04:00
Kevin K
a983bd9b7e
doc: small fixes ( #612 )
2016-07-30 11:29:37 -04:00
Kevin K
522d934b1b
chore: increase version
2016-07-28 22:28:47 -04:00
Kevin K
9605ea83aa
chore: increase version ( #599 )
2016-07-24 00:13:00 -04:00
Roman A. Taycher
05edc4338e
removed unstable gate from crate_authors
2016-07-23 15:56:42 -07:00
Bence Szigeti
8d7bea823f
Fix: extra space typo removed
2016-07-05 22:01:04 +02:00
Kevin K
4e60b2254d
chore: increase version
2016-07-03 10:55:49 -04:00
Kevin K
aa95719eba
chore: updates changelog and readme for release
2016-07-01 13:51:59 -04:00
Kevin K
cb251de25c
chore: updates readme and changelog
2016-07-01 13:07:08 -04:00
Kevin K
7daee9ded0
chore: increase version
2016-07-01 00:34:08 -04:00
Kevin K
e5ba93afd3
chore: increase version
2016-06-29 23:25:14 -04:00
Kevin K
fa452fad65
chore: increase version
2016-06-29 13:34:18 -04:00
Kevin K
d8de15d1a7
chore: increase version
...
[ci skip]
2016-06-28 10:43:36 -04:00
Kevin K
0dbe2ee600
chore: increase version
2016-06-13 22:18:34 -04:00
Kevin K
04d27ce803
chore: increase version
2016-06-04 11:55:47 -04:00
Kevin K
65c2350aa3
feat: colors dont get sent to pipes by default
...
Color are now only used when outputting to a termainal/TTY. There are three new settings as well
which can be used to control color output, they are:
* `AppSettings::ColorAuto`: The default, and will only output color when outputting to a terminal or TTY
* `AppSettings::ColorAlways`: Outputs color no matter where the output is going
* `AppSettings::ColorNever`: Never colors output
This now allows one to use things like command line options, or environmental variables to turn
colored output on/off.
Closes #512
2016-06-04 11:28:03 -04:00
Kevin K
d4cafcc0fc
chore: increase version
2016-05-10 17:15:06 -04:00
Kevin K
b42ca0b5ab
chore(Tests): had to remove external clap-test crate...sad face
2016-05-09 22:46:09 -04:00
Kevin K
6c7b2da856
chore: increase ghost version
2016-05-09 21:10:30 -04:00
Kevin K
3ab0bf8826
chore: increase version
2016-05-09 20:50:32 -04:00
Kevin K
deac597fc6
chore: updates dep graph
2016-05-09 19:14:11 -04:00
Kevin K
89db52a965
chore: increase version
2016-05-03 16:31:55 -04:00
Nikolai Vazquez
e6cb68709d
chore: Fix typos in README.md
2016-04-21 00:51:09 -04:00
Kevin K
ee41482608
chore: increase version
2016-04-18 00:05:43 -07:00
Bilal Syed Hussain
73ad3ff23b
docs: fix spelling in Readme.md
2016-03-29 00:57:39 +01:00
Kevin K
05365ddcc2
fix(Help Message): fixes bug with wrapping in the middle of a unicode sequence
...
Closes #456
2016-03-27 16:01:17 -04:00
Kevin K
929ee98ec8
chore: increase version
2016-03-16 19:26:20 -04:00
Kevin K
c2cc1eb846
chore: updates readme and changelog for new features
2016-03-14 22:44:34 -04:00
Kevin K
031b71733c
chore: fixes platform dependant libc calls
2016-03-14 08:00:11 -04:00
Kevin K
f1850c654e
chore: shows screenshot without clicking link
2016-03-13 22:14:07 -04:00
Kevin K
387b147820
chore: increase version
2016-03-13 22:10:34 -04:00
Kevin K
e36af02666
feat(Help Message): can auto wrap and aligning help text to term width
...
By default `clap` now automatically wraps and aligns help strings to the
term width. i.e.
```
-o, --option <opt> some really long help
text that should be auto aligned but isn't righ
t now
```
Now looks like this:
```
-o, --option <opt> some really long help
text that should be
auto aligned but isn't
right now
```
The wrapping also respects words, and wraps at spaces so as to not cut
words in the middle.
This requires the `libc` dep which is enabled (by default) with the
`wrap_help` cargo feature flag.
Closes #428
2016-03-13 22:07:28 -04:00
Vladislav Supalov
94c4335adc
Update README.md
...
A tiny typo in the README.
2016-03-06 00:12:14 +01:00
Kevin K
d0c956c1ce
chore: increase version
2016-02-19 10:47:39 -05:00
Ian C
f0f425d5a4
Update README.md
2016-02-05 14:29:10 -06:00
Ian C
f0dbb8e939
Grammatical pedantry
2016-02-05 14:15:44 -06:00
Kevin K
280ada7b84
fix: fixes cargo features to NOT require nightly with unstable features
...
Closes #402
2016-01-29 22:11:34 -05:00
Kevin K
2031682193
chore: updates additional files for 2x release
2016-01-28 11:46:12 -05:00
Kevin K
5f0da1200b
docs(README.md): updates readme for v2 release
...
Closes #393
2016-01-28 11:45:31 -05:00
Sung Rim Huh
07b9f61495
docs(README.md): fix typo and make documentation conspicuous
2016-01-12 06:59:11 -08:00
Brad Urani
9e08a92860
Fixes missing word in README
...
Fixes sentence with missing word in README.md
2016-01-08 00:08:38 -08:00
Kevin K
cde0dedd66
chore(Readme): breaks out merit badges
2015-12-19 05:48:33 -05:00
Alexander Kuvaev
910cace3e6
chore: change badge
2015-12-18 09:01:59 -05:00
Alexander Kuvaev
84d4583444
chore: update README.md
2015-12-18 09:01:59 -05:00
Ross Nelson
71ba2da3f6
docs(Dependencies Tree): fixed a typo
2015-11-16 08:45:20 -06: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
a4ef0fab73
docs(FAQ): updates readme with slight changes to FAQ
2015-11-08 09:02:08 -05:00
Ben S
00b61ae226
Fix a bunch of typos in comments
2015-11-01 14:02:37 +00:00
Kevin K
fd10aa7d64
chore: increase version
2015-10-29 01:36:12 -04:00
Kevin K
1a8bf31e7a
docs: adds comparison in readme
...
Closes #325
2015-10-29 01:07:43 -04:00
Kevin K
ace1239f40
chore: updates README.md with new features
2015-10-06 11:16:14 -04:00
Kevin K
6f9ee181e6
docs(Rustdoc): adds portions of the readme to main rustdoc page
...
Closes #293
2015-10-01 12:03:14 -04:00
Huon Wilson
d33228f40b
docs: avoid suggesting star dependencies.
...
A `*` version constraint makes it hard/impossible to release a breaking
change (e.g. clap 2.0) without causing people's code to break. `cargo
update` with a `*` dependency will happily move from (say) 1.4 to 2.0,
even though semver says these may be a breaking change. Using a more
precise dependency constraint gives the crate author more flexibility in
making breaking changes, and makes users of the crate happier if/when
they do happen.
https://github.com/rust-lang/rfcs/pull/1241 contains a bit more
discussion about this.
2015-10-01 22:40:28 +10:00
grossws
bb4fe23785
docs: use links to examples instead of plain text
...
Replaced plain text `example/` and `example/xx_some_example.rs` by links to examples dir and appropriate examples.
2015-09-29 23:25:15 +03:00
Kevin K
f21ecf8535
chore: increase version
2015-09-22 13:28:32 -04:00
Nelson Chen
f85640f9f6
docs: fixes various typos and spelling
2015-09-20 16:59:32 -07:00
Alexander Kuvaev
1e805a1394
Merge branch 'master' into Readme_fixes
2015-09-10 00:43:16 +03:00
SungRim Huh
44fe789a66
chore(README.md): add table of contents
2015-09-09 15:47:55 -05:00
SungRim Huh
283588c2b7
chore(README.md): shorten 'How to Contribute' section
2015-09-09 15:42:55 -05:00
Alexander Kuvaev
f587fb8319
chore: update README.md
2015-09-09 16:26:57 +03:00
Kevin K
07f6d63e17
chore: increase version
2015-09-09 00:00:17 -04:00
Kevin K
211e9d7ab3
chore: increase version
2015-09-07 21:37:17 -04:00
Kevin K
26899e95cd
chore: fixes spelling in readme
2015-09-06 22:17:17 -04:00
Alexander Kuvaev
ecc084e32c
chore: updated How to Contribute
2015-09-06 02:08:54 +03:00
Kevin K
906df9d037
chore: updates clap dep graph
2015-09-04 15:58:08 -04:00
Alexander Kuvaev
13b844e4ae
chore: add covealls badge
2015-09-03 20:54:42 +03:00
Kevin K.
612f79dae8
chore(README): fixes yaml example
2015-09-01 15:27:16 -04:00
Kevin K
45613ac6dc
docs(README): updates readme with yaml and new features
2015-09-01 00:28:33 -04:00
Alexander Kuvaev
d1ae96c341
chore: fixed README.md and CONTRIBUTING.md
2015-08-30 22:39:57 +03:00
Kevin K.
bcac592980
Merge pull request #201 from Vinatorul/badges_fix
...
Changed crates.io badges
2015-08-28 08:13:47 -04:00
Alexander Kuvaev
8c629fae13
Changed crates.io badges
2015-08-28 08:37:53 +03:00
Alexander Kuvaev
26c3cd9409
chore: fix misspell
...
Closes #199
2015-08-28 06:40:56 +03:00
Alexander Kuvaev
69d917d551
chore: fix misspell
2015-08-27 21:14:23 +03:00
Alexander Kuvaev
d797689267
chore: Updated "How to contribute" with a new type
2015-08-27 20:42:15 +03:00
Kevin K
d34050cfe1
chore: adds dashed lines to dep graph
2015-08-25 17:30:42 -04:00
Alexander Kuvaev
70dc002695
chore: fixed badges
2015-08-25 17:31:06 +03:00
Alexander Kuvaev
277f466765
chore(readme): add dependency tree to README.md
2015-08-25 01:57:41 +03:00
Kevin K
16cf9245fb
docs(README.md): updates for new features
2015-08-19 22:01:01 -04:00
Kevin K
db9c68069e
Merge branch 'master' of github.com:kbknapp/clap-rs
2015-08-14 20:46:57 -04:00
Kevin K
e58652c1f1
chore: gives proper credit :)
2015-08-14 20:46:49 -04:00
Kevin K.
08abf65b44
Merge pull request #175 from Vinatorul/READMEfix_b
...
Fixed links in README.md
2015-08-14 20:35:55 -04:00
Kevin K
0349654717
docs: updates docs for new features
2015-08-14 20:25:21 -04:00
Alexander Kuvaev
6d9837ad9a
fix: fixed links in cargo and license buttons
2015-08-15 02:39:50 +03:00
Kevin K
52f81e1737
docs: updates README.md to include lack of color support on Windows
2015-07-18 11:01:21 -04:00
Kevin K
8232f7bb52
docs: updates readme with new features
2015-07-16 01:39:57 -04:00
Kevin K
62275b7cf6
chore: increase version
2015-07-11 11:30:33 -04:00
Kevin K
0aca29bd5d
docs(README.md): updates example help message to new format
2015-07-09 11:46:12 -04:00
Kevin K.
6bb0576a72
Merge pull request #150 from kbknapp/issue-149
...
Issue 149
2015-07-07 20:14:38 -04:00
Kevin K
938f7f0134
docs(README.md): adds new features to what's new list
2015-07-07 20:14:23 -04:00
Vincent Prouillet
28b7e3161f
docs(readme): use with_name for subcommands
...
::new doesn't exist anymore
2015-07-07 04:27:53 +01:00
Kevin K
ff149a29dd
docs: adds "whats new" section to readme
2015-06-29 22:22:13 -04:00
Ivan Dmitrievsky
279384b3e5
Fix minor typo in README
2015-06-29 21:41:29 +03:00
Kevin K
ebf442ebeb
docs: updates docs to new version flag defaults
2015-06-16 20:46:11 -04:00
Kevin K
6f76bd0a07
docs: adds contributing guidelines
2015-05-29 13:13:17 -04:00
Kevin K
743eefe8dd
docs: updates for deprecations and new features
2015-05-22 23:32:56 -04:00
Kevin K
f3e2af811e
chore(clap): increase version
2015-05-10 14:58:22 -04:00
Kevin K
960389de02
docs(README): adds details about optional and new features
2015-05-05 22:05:02 -04:00
Tshepang Lekhonkhobe
8891d92917
docs(clap): fix typos caught by codespell
...
Thanks to [tshepang](https://github.com/tshepang ) for catching these!
2015-05-05 22:02:14 -04:00
Kevin K
ace479a11c
docs(README.md): update links
2015-04-30 20:13:59 -04:00
Kevin K
e75f304222
docs(README.md): adds breaking changes, deprecations, and new features
2015-04-30 19:58:34 -04:00
Kevin K
1c92ed0e72
chore(docs): change makefile -> travis auto cargo doc and upload
2015-04-28 23:18:08 -04:00
Kevin K.
06304bf9f5
docs(README.md): fix typos
2015-04-27 23:25:39 -04:00
Kevin K
60c1b307ac
docs(groups): adds documentation for ArgGroups
2015-04-27 22:52:50 -04:00
Kevin K.
e9e774558e
docs(README.md): change crates.io badge
2015-04-19 19:20:47 -04:00
Kevin K.
0c9eddfaf2
docs(README.md): add license badge
2015-04-19 16:55:58 -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.
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
1a192521b6
docs(clap): fix typo core->std
2015-04-16 12:53:05 -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.
90b7e76091
docs(README.md): add feature typed value macros
2015-04-14 14:44:44 -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
09497c916b
docs(clap): improve readability of examples with App::args_from_usage()
2015-04-13 18:08:25 -04:00
Kevin K
0d3ecd8e83
docs(README.md): fix typos in the readme
2015-04-13 15:35:26 -04:00
Kevin K.
1bc802aa4b
docs(README.md): fix typos in the readme
2015-04-13 14:29:40 -04:00
Kevin K.
1fcfc9cf27
docs(README.md): fix typos in the readme
2015-04-13 14:22:16 -04:00
Kevin K.
a4b0ce7426
docs(README.md): update readme examples with new from_usage() methods
2015-04-13 14:19:56 -04:00
Kevin K.
fef861661e
docs(README.md): update examples with some comments, and fix typos
2015-04-09 14:25:03 -04:00
Kevin K
315ffbdcbc
docs(README.md): fix typos and add license section
2015-04-08 17:10:00 -04:00
Kevin K.
ddc9b6955c
docs(README.md): add gitter chat badge
2015-04-08 12:04:07 -04:00
Kevin K
2bf9569506
docs(README.md): add portions concerning conventional changelogs
2015-04-07 22:38:06 -04:00
Kevin K
9424601d83
docs(README.md): add video tutorial section
2015-04-07 21:06:45 -04:00
Kevin K
7cf9659f5b
docs(README.md): add sections features and contributing
2015-04-01 13:22:53 -04:00
Kevin K
d2ee5359c8
docs(README.md): update the readme
2015-04-01 13:00:33 -04:00
Kevin K
fb403da00a
docs(README.md): update readme
2015-04-01 12:45:30 -04:00
Kevin K
28811d8324
docs(README.md): update help info
2015-04-01 12:43:34 -04:00
Kevin K
6bed75a136
docs(README.md): update the readme
2015-04-01 12:43:09 -04:00
Kevin K.
221fca0881
Fixed link in readme
2015-03-21 11:28:39 -04:00
Kevin K.
6e4f3822e6
Update README.md
2015-03-20 14:42:40 -04:00
Markus Unterwaditzer
7ca46bc708
Add build instructions
2015-03-19 00:45:30 +01:00
Markus Unterwaditzer
4017524157
This breaks for rustdoc
2015-03-19 00:43:33 +01:00
Kevin K.
3c30c41643
Update README.md
2015-03-18 12:54:31 -04:00
Markus Unterwaditzer
59bcd85662
Improve formatting for README, remove some tabs
2015-03-16 20:56:42 +01:00
Kevin K.
4d4b0b7c4a
Update README.md
2015-03-16 10:55:45 -04:00
Kevin K.
09f1234d3e
Update README.md
2015-03-16 10:38:43 -04:00
Kevin K.
e13399b60b
Added subcommand information
2015-03-15 17:25:36 -04:00
Kevin K.
78dd012f6e
Update README.md
2015-03-01 17:53:53 -05:00
Kevin K.
1356a9f0e1
Update README.md
2015-03-01 11:56:53 -05:00
Kevin K.
3b64c684ef
Update README.md
2015-03-01 11:55:53 -05:00
Kevin K.
63c40eb68c
Update README.md
2015-03-01 11:28:42 -05:00
Kevin K.
299a93f1dc
Update README.md
...
Changed install instructions from pinned version to any via crates.io
2015-03-01 11:27:29 -05:00
Kevin K
3c0b050a26
updated docs
2015-02-28 20:15:04 -05:00
Kevin K
cc151ca732
Updated readme and removed Cargo.lock from git
2015-02-28 19:33:18 -05:00
Kevin K
d274d2bf59
Updated readme and removed Cargo.lock from git
2015-02-28 19:31:24 -05:00
Kevin K
9dac3aed4a
Updated readme
2015-02-28 19:22:23 -05:00
Kevin K
959b5e9437
Initial commit
2015-02-25 08:36:33 -05:00