Custom args for cmd2 derived app. #1594
Unanswered
celephicus
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Simply, add a --verbose option to the app derived from cmd2.
So I can call my app 'sf2 --verbose' and have the parsed arg show up in self.args. Google gave me a Gemini code below that doesn't work (unrecognised kwarg). Has the API changed?
Beta Was this translation helpful? Give feedback.
All reactions