mirror of
https://github.com/clap-rs/clap
synced 2025-01-05 17:28:42 +00:00
0a4a2dd36b
This consolidates two `crate_*!` macro examples into a `app_from_crate` example. - This is more of what we expect users to use - We've talked about splitting the `crate_*` macros out into their own crate. This shifts the focus to what clap would be providing long term
5 lines
78 B
Rust
5 lines
78 B
Rust
use clap::app_from_crate;
|
|
|
|
fn main() {
|
|
app_from_crate!().get_matches();
|
|
}
|