Skip to content
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

support for multiple short or long arguments #121

Open
notwaf opened this issue Feb 4, 2025 · 1 comment
Open

support for multiple short or long arguments #121

notwaf opened this issue Feb 4, 2025 · 1 comment

Comments

@notwaf
Copy link

notwaf commented Feb 4, 2025

similar to how python argparse allows multiple short and/or long arguments

https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.add_argument

something like

verbose := p.Parser.Flag("v", "-d", "debug", "verbose", &argparse.Options{Help: "enable verbose logging"})
@akamensky
Copy link
Owner

Thanks for posting, while I think it would be reasonable addition I personally do not have time to work on this library at the moment.

On the other hand please keep in mind that this library is "inspired by" Python's argparse, not a "re-implementation of".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants