-
Hello, I'm relatively new to Rust and clap, and I might be missing something obvious here. My goal is to override the default To achieve this, I've been utilizing However, I've encountered a snag: using Is there a way to work around this issue so I can both determine the active subcommand and retain access to the full Take in consideration that I don't want to parse each subcommand through Lastly, is this the right place to ask such things? I don't want to bother anyone, in case it's not, I'll ask for support somewhere else. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We offer
This is confusing. If you generate separate However, you could run into errors that exit immediately. You would likely want to use a
This is an appropriate place. There are also a contingent of people who generally discuss and help each other on discord |
Beta Was this translation helpful? Give feedback.
We offer
_mut
variants that don't consume.This is confusing. If you generate separate
Command
s or clone them, then it should be fine. What problem are you running into?However, you could run into errors that exit immediately. You would likely want to use a
try_
prefixed version.This is an appropriate place. There are also a contingent of people who generally discuss …