Commit graph

13 commits

Author SHA1 Message Date
Kevin K
09b39eac0a
tests: fixes function calls to use the convenience functions and correct trait
tests: changes function calls to convenience functions and correct trait
2018-07-12 22:39:13 -04:00
Kevin K
49c975a400
refactor: renames uses in tests 2018-07-02 15:06:46 -04:00
Kevin K
31c6852684
chore: updates the copyright notices 2018-07-02 13:41:56 -04:00
Kevin K
0be39eebfa
chore: initial merge of both repos 2018-07-02 11:22:27 -04:00
Kevin K
44fad54b2f
chore: moves structopt files into temp dir 2018-07-02 10:59:08 -04:00
Guillaume P
de7fc7a08e fmt 2018-06-05 18:16:17 +02:00
Guillaume Pinot
01d34fb8d2 update syn quote and proc_macro2 + fmt 2018-05-21 16:57:35 +02:00
Christopher Durham
72784f3bd4 Re-license to Apache-2.0/MIT (#71) 2018-02-25 11:22:24 +01:00
Guillaume Pinot
78d4aa00a0 Use r#"str"# when appropriate 2018-02-15 16:19:52 +01:00
Guillaume Pinot
d74eee5e46 Change _raw suffix by raw() wrapping 2018-02-04 15:39:27 +01:00
Guillaume Pinot
be60de036b structopt reexport structopt_derive
As using structopt without structopt_derive is quite meaningless, reexport
structopt_derive, symplifying the usage.

Inspired by the failure crate.

fix #45
2018-02-03 16:55:43 +01:00
Guillaume Pinot
7975343a03 Support 1-uple enum variant as subcommand
This is a breaking change as it modifies the StructOpt trait.

fix #38
2018-02-03 15:32:55 +01:00
Seebi
ebde32aa5b Add raw attributes (#26)
* Add raw attributes

This makes it possible to call clap functions that don't take strings,
but any arbitrary value. Even functions that take more than one argument
can be called.

All attributes that are called `attribute_name_raw` are augmented to
`attribute_name(value)` without quoting `value`.

* Add tests for raw attributes and fix spelling
2017-11-01 08:41:58 +01:00