Parse command line arguments by defining a struct.
Parse command line arguments by defining a struct.
Parse command line arguments by defining a struct. It combines clap with custom derive.
As clap v3 is now out, and the structopt features are integrated into (almost as-is), structopt is now in maintenance mode: no new feature will be added.
Bugs will be fixed, and documentation improvements will be accepted.
See the structopt -> clap migration guide
Find it on Docs.rs. You can also check the examples and the changelog.
Add structopt to your dependencies of your Cargo.toml:
[dependencies]
structopt = "0.3"
And then, in your rust file:
…
Using this example:
…
cargo update will not fail on StructOpt).Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
No open issues yet, or sync has not completed.