Replies: 2 comments
-
You might find the arguments section of the tutorial helpful, maybe combined with the subcommands section. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just like how you called let matches = cli().get_matches();
let debug = matches.get_flag("debug"); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm following the
git-derive
example and got all my commands/subcommands working. I have added some options at the top level successfully but I cannot figure out how to pull out the arguments from this.Sample:
Cargo.toml
Beta Was this translation helpful? Give feedback.
All reactions