Commit graph

241 commits

Author SHA1 Message Date
Kevin K
9605ea83aa chore: increase version (#599) 2016-07-24 00:13:00 -04:00
Kevin K
4e60b2254d chore: increase version 2016-07-03 10:55:49 -04:00
Kevin K
9e9d92a3bd chore: increase version 2016-07-01 22:16:47 -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
ceddee9157 refactor(term.rs): moved term.rs into it's own crate so others can pull in just that portion
The functionality can now be found in https://crates.io/crates/term_size

Closes #549
2016-06-29 23:19:08 -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
fe0818b854 chore: unpins clippy version
Closes #523
2016-06-07 23:52:52 -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
d681a5b32c chore: increase version 2016-05-11 15:52:21 -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
59152ed500 chore: updates clap-test to solve chicken and egg api issue 2016-05-09 21:09:41 -04:00
Kevin K
74c8a7f428 chore: moved clap-test to it's own repo 2016-05-09 21:06:31 -04:00
Kevin K
3ab0bf8826 chore: increase version 2016-05-09 20:50:32 -04:00
Kevin K
852e58156c tests: removes old python tests and replaces with rust tests
Closes #166
2016-05-09 19:14:11 -04:00
Kevin K
a0a56318d0 tests(Groups): adds tests for positional arg formatting in groups 2016-05-08 21:33:56 -04:00
Kevin K
2efd81ebbc chore: clippy update and run 2016-05-06 17:59:52 -04:00
Kevin K
89db52a965 chore: increase version 2016-05-03 16:31:55 -04:00
Kevin K
ee41482608 chore: increase version 2016-04-18 00:05:43 -07:00
Kevin K
8a95dace62 chore: increase version 2016-04-11 11:50:38 -07:00
Kevin K
00d5a3e0b2 chore: updates deps 2016-04-08 11:40:38 -07:00
Kevin K
616e803321 chore: increase version 2016-04-02 20:50:47 -04:00
Kevin K
e923c2c153 chore: increase version' 2016-03-29 22:32:15 -04:00
Kevin K
cebb889ebc chore: increase version 2016-03-28 11:28:36 -04:00
Kevin K
f2cf2f8a0d chore: increase version 2016-03-27 16:02:10 -04: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
3d4192b655 chore: pins travis to rustc+clippy working pair on nightly 2016-03-22 21:14:57 -04:00
Kevin K
929ee98ec8 chore: increase version 2016-03-16 19:26:20 -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
Alexander Bulaev
150784ae20 Update VecMap to 0.6 2016-03-08 19:50:20 -05:00
Kevin K
deace34ad2 chore: clippy run 2016-03-08 10:39:43 -05:00
Kevin K
0b67367226 chore: increase version
Closes #434
2016-02-23 22:40:05 -05:00
Kevin K
d0c956c1ce chore: increase version 2016-02-19 10:47:39 -05:00
Kevin K
1153e8af60 chore: clippy run 2016-02-14 01:10:44 -05:00
Kevin K
33fe291b34 chore: increase version 2016-02-10 12:55:54 -05:00
Kevin K
972761912a chore: increase version 2016-02-09 09:30:41 -05:00
Kevin K
ea4dd195f9 chore: increase version 2016-02-04 19:45:30 -05:00
Kevin K
9f7a4afea6 chore: increase version 2016-02-04 02:01:10 -05:00
Kevin K
dbea0e349b chore: increase version 2016-02-02 07:45:49 -05:00
Kevin K
2564b3af11 chore: increase version 2016-01-31 08:23:34 -05: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
60a61ddde6 tests(Benches): fixes failing bench marks 2016-01-28 11:45:31 -05:00
Kevin K
20de5c6e76 feat(v2): implementing the base of 2.x
This commit implements the base changes for clap 2.x
2016-01-28 11:45:31 -05:00
Paul Blouët
53f97805b3 chore: bump dependencies bitflags and yaml-rust to latest version
Bump bitflags from 0.3.3 to 0.4.0 and yaml-rust from 0.2.2 to 0.3.0.
2016-01-28 14:50:27 +01:00
Kevin K
64ebaebab0 chore: increases version 2016-01-03 23:59:52 -05:00
Kevin K
ea83a3d421 fix: fixes an intentional panic issue discovered via clippy 2016-01-03 21:54:56 -05:00
Kevin K
f1a454404c chore: increase version 2015-12-18 01:36:15 -05:00
Kevin K
6b54ba2e45 chore: updates deps 2015-12-08 03:05:19 -05:00
Kevin K
b9ebc59c23 chore: increase version 2015-11-20 08:32:46 -05:00
Kevin K
03d31e71a2 chore: increase version 2015-11-14 04:53:59 -05:00
Kevin K
e81b733064 chore: increase version 2015-11-13 09:37:24 -05:00
Kevin K
37bfffc375 chore: increase version 2015-11-12 23:01:13 -05:00
Kevin K
e7715f1df1 chore: adds perf graphs 2015-11-12 10:16:22 -05:00
Kevin K
64b921d087 perf(App): changes BTreeMap to VecMap in some instances 2015-11-08 01:01:11 -05:00
Kevin K
2b6d1dc3c3 chore: dep update 2015-11-04 03:00:53 -05:00
Kevin K
4767834113 chore: increase version 2015-11-02 23:23:27 -05:00
Kevin K
fd10aa7d64 chore: increase version 2015-10-29 01:36:12 -04:00
Kevin K
f161ffa470 chore: updates and implements lint findings 2015-10-28 10:55:26 -04:00
Vlad
52ac3e6e92 chore: format 2015-10-19 15:00:13 +03:00
Vlad
016b8a7c1b chore: use newer style in Cargo.toml 2015-10-19 14:46:24 +03:00
Kevin K
ed62644819 chore: increase version 2015-10-06 15:28:55 -04:00
Kevin K
2001cf4856 chore: increase version 2015-10-06 11:16:23 -04:00
Kevin K
b85786f7be chore: updates yaml-rust dep 2015-10-01 12:40:39 -04:00
Kevin K
ffae52e64b refactor: refactor app settings into flags 2015-09-30 23:59:40 -04:00
Kevin K
76cad54fa4 chore: increase version 2015-09-30 14:42:41 -04:00
Kevin K
203dfcadc1 chore: increase version 2015-09-22 22:05:47 -04:00
Kevin K
f21ecf8535 chore: increase version 2015-09-22 13:28:32 -04: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
c279b800a2 chore: increase version 2015-09-04 14:19:55 -04:00
Kevin K
f9e2b677dc chore: increase version 2015-09-01 00:28:44 -04:00
Kevin K
f482387544 refactor: breaks up app code into different files 2015-08-30 17:10:26 -04:00
Kevin K
62297c7040 chore: adds tests and benches to exclude for crates.io 2015-08-30 00:24:14 -04:00
Kevin K
5987c20396 chore: increase version 2015-08-27 12:12:56 -04:00
Kevin K
4b8908b93e chore: increase version 2015-08-26 19:58:58 -04:00
Kevin K
ff9628d24d chore: comments out clippy until 0.0.12 is on crates.io 2015-08-26 17:32:25 -04:00
Kevin K
5aa02042ca chore: separates nightly features from travis-cargo flags 2015-08-25 17:28:46 -04:00
Kevin K
21c4aedd25 chore: increase version 2015-08-24 14:32:29 -04:00
Kevin K
35114c99c5 chore: increase version 2015-08-23 11:48:21 -04:00
Kevin K
7cb5e7f3f5 chore: increase version 2015-08-19 22:07:02 -04:00
Kevin K
6dd22079ec chore: gets clippy from crates.io instead of git 2015-08-14 20:34:13 -04:00
Kevin K
b811a1c005 chore: increase version 2015-08-14 20:30:37 -04:00
Kevin K
8a2cd7f95f imp: code corrections thanks to rust-clippy 2015-08-14 00:21:16 -04:00
Kevin K
b747f15945 chore: increase version 2015-08-01 00:55:52 -04:00
Kevin K
62f283a7ca chore: increase version 2015-07-29 18:32:37 -04:00
Kevin K
7f77c72701 chore: increase version 2015-07-19 22:04:40 -04:00
Kevin K
1160bd8d96 chore: increase version 2015-07-18 11:03:53 -04:00
Kevin K
6d214b549a fix: fixes a bug when parsing multiple {n} newlines inside help strings 2015-07-16 22:16:50 -04:00
Kevin K
f2dd2cb1c6 chore: increase version 2015-07-16 21:42:15 -04:00
Kevin K
5b4170b4b7 chore: increase version 2015-07-16 01:46:24 -04:00
Kevin K
62275b7cf6 chore: increase version 2015-07-11 11:30:33 -04:00
Kevin K
cc76ab8c2b imp(Errors): writes errors to stderr
Closes #154
2015-07-11 11:23:48 -04:00
Kevin K
5419fd8ed1 chore: increase version 2015-07-09 10:28:03 -04:00
Kevin K
83ac35d783 chore: increase version 2015-07-08 15:03:23 -04:00
Kevin K
b20a93aa1e chore: increase version 2015-07-07 20:20:45 -04:00