Commit graph

19 commits

Author SHA1 Message Date
Guillaume P
c1ec5f9732 Improve the first example in the documentation
Fix #82
2018-03-15 11:14:59 +01: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
53d520264f Rename from_any to from_iter 2018-02-10 20:56:16 +01:00
Kerollmops
12ec0ba5e0 Add the from method to parse from any Iterator 2018-02-10 19:37:06 +01:00
Guillaume Pinot
d74eee5e46 Change _raw suffix by raw() wrapping 2018-02-04 15:39:27 +01:00
Guillaume Pinot
98d8cae1f1 Doc cleanups 2018-02-03 16:55:43 +01:00
Guillaume Pinot
087f7dc9cc move structopt-derive documentation to structopt 2018-02-03 16:55:43 +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
Sune Kirkeby
00a1e13fea Allow opting out of clap default features. (#46) 2018-01-23 15:47:06 +01:00
Guillaume Pinot
29a642b10d fix #12 2017-11-01 22:31:33 +01:00
William Yao
443cc3e145 move augment_clap into inherent impl 2017-07-17 11:45:31 +02:00
William Yao
f9fc923993 add link to structopt-derive documentation from structopt crate 2017-07-17 11:45:31 +02:00
William Yao
a4826404f3 separate creating app and adding arguments 2017-07-17 11:45:31 +02:00
Guillaume Pinot
66e75fe3cc Don't ask to the user to import the good clap version 2017-02-11 13:39:09 +01:00
Guillaume Pinot
258a85c710 document structop-derive 2017-02-10 01:14:39 +01:00
Guillaume Pinot
fdc18d07bb add flag tests 2017-02-07 01:41:16 +01:00
Guillaume Pinot
3ec065a12a Init project 2017-02-03 01:17:31 +01:00