clap/tests
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
..
app.yml Issues rollup (#637) 2016-08-27 23:42:31 -04:00
app_settings.rs feat(Settings): Add unset_setting and unset_settings fns to App (#598) 2016-07-24 00:08:24 -04:00
completions.rs feat(Completions): adds the ability to generate completions to io::Write object 2016-07-14 09:38:13 +01:00
conflicts.rs chore(Tests): had to remove external clap-test crate...sad face 2016-05-09 22:46:09 -04:00
example1_tmpl_full.txt feat(HELP): Add a Templated Help system. 2016-04-13 07:06:23 -03:00
example1_tmpl_simple.txt feat(HELP): Add a Templated Help system. 2016-04-13 07:06:23 -03:00
flags.rs tests(multiples): adds tests for > u8::max vals and occurrences 2016-02-02 07:45:49 -05:00
groups.rs tests(Usage Strings): updates usage string tests 2016-06-24 00:17:04 -04:00
help.rs Issues rollup (#637) 2016-08-27 23:42:31 -04:00
hidden_args.rs tests: updates help tests to remove extra newline 2016-06-04 11:55:47 -04:00
multiple_occurrences.rs fix(matched_arg): Allow for more than 256 occurrences of an argument. 2016-02-02 19:30:32 +00:00
multiple_values.rs tests(Multiple Values): fixes failing benches and adds tests to guard 2016-02-04 22:15:10 -05:00
opts.rs Fix: extra space typo removed 2016-07-05 22:01:04 +02:00
positionals.rs tests(Usage Strings): updates usage string tests 2016-06-24 00:17:04 -04:00
posix_compatible.rs tests: adds tests for different value delimiters 2016-01-28 11:45:31 -05:00
possible_values.rs Fix: typo -- missing space and commas 2016-07-05 22:14:47 +02:00
require.rs test: adds tests for required_unless_one cases 2016-07-23 17:22:14 -04:00
subcommands.rs Fix: extra space typo removed 2016-07-05 22:01:04 +02:00
template_help.rs tests(template): fix template asserts on windows 2016-07-26 23:46:06 -05:00
tests.rs chore(Tests): had to remove external clap-test crate...sad face 2016-05-09 22:46:09 -04:00
unique_args.rs refactor(v2): improving macros for code dedup 2016-01-28 11:45:31 -05:00
utf8.rs chore: fixes doc and style mistakes 2016-01-28 21:58:40 -05:00
version.rs tests: removes extra newline from version output tests 2016-06-04 11:28:24 -04:00
yaml.rs tests(yaml): use scope wide attribute 2016-01-11 21:13:14 -08:00