-
Notifications
You must be signed in to change notification settings - Fork 126
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
Question: Can you implement subcomands using with this library? #34
Comments
no builtin support, but it's easy to implement, e.g.
|
Are there plans to add subcommand support to the library? P.S. Oh, there was a closed issue about subcommands. |
no, however you can follow this example |
that example just causes a segfault when I P.S I finally got a working example.... I'm gonna push it real quick |
I also create a full example here: https://github.com/cofyc/argparse/blob/master/tests/subcommands.c |
LGTM, but unfortunately it doesn't say anything about adding options to the subcommands themselves. |
If you need to parse arguments for subcommand, you can init and config |
the example is updated, see the latest version. Note that |
Hi,
does your library support subcomands such as used in GIT or Argparse?
e.g.
Thank you
The text was updated successfully, but these errors were encountered: