-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix xylem --print-config
#22
Labels
Milestone
Comments
Suggestion by @wjwwood: Do some manual parsing like in https://github.com/ament/ament_tools/blob/use_verb_pattern/ament_tools/commands/ament.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From #17 (comment)
It seems to be a limitation of argparse to not allow optional subparsers. The simplest fix might involve http://stackoverflow.com/a/22054398/1813258.
P.S.: I just stumbled upon http://docopt.org/ (the recorded talk is a nice watch). I seems like a really powerful and simple way to do CLI, but unfortunately it looks to be not as practical when options come from different places.
The text was updated successfully, but these errors were encountered: