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

opt2arg should employ tr4h2o #12

Open
oodler577 opened this issue Jan 3, 2025 · 0 comments
Open

opt2arg should employ tr4h2o #12

oodler577 opened this issue Jan 3, 2025 · 0 comments

Comments

@oodler577
Copy link
Owner

oodler577 commented Jan 3, 2025

so that we can use flags with hypens in it at the commandline, that internally are key'd using an underscore. For example, some-flag should be passed as --some-flag to Getopt::Long, but internally it'd be accessible as $o->some_flag. This would make commandline app UX so much more idiomatic.

Note: this may not be feasible

@oodler577 oodler577 changed the title opt2arg should employ tr4h2oso that we can use flags with hypens in it at the commandline, that internally are key'd using an underscore. For example, some-flag should be passed as --some-flag to Getopt::Long, but internally it'd be accessible as $o->some_flag. This would make commandline app UX so much more idiomatic. opt2arg should employ tr4h2o Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant