-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
CLI: Parse options insensitive to case, '-' and '_' #79
Labels
kind: feature
User-facing enhancement
Comments
ee7
added a commit
to ee7/exercism-configlet
that referenced
this issue
Oct 26, 2020
Most importantly, these previously invalid options are now accepted: --probspecsdir --prob-specs-dir --prob_specs_dir Before this commit, we could only use: --probSpecsDir That is: `--kebab-case` is now supported, even if that fact or `--prob-specs-dir` itself aren't shown in the `--help` message yet. Note that we already had case-insensitive parsing for: - the values for `mode` - the values for `verbosity` - arguments (we support `canonical_data_syncer HELP`) Fixes: exercism#79
ErikSchierboom
pushed a commit
that referenced
this issue
Oct 27, 2020
Most importantly, these previously invalid options are now accepted: --probspecsdir --prob-specs-dir --prob_specs_dir Before this commit, we could only use: --probSpecsDir That is: `--kebab-case` is now supported, even if that fact or `--prob-specs-dir` itself aren't shown in the `--help` message yet. Note that we already had case-insensitive parsing for: - the values for `mode` - the values for `verbosity` - arguments (we support `canonical_data_syncer HELP`) Fixes: #79
ee7
added a commit
to ee7/exercism-configlet
that referenced
this issue
Jan 21, 2021
Most importantly, these previously invalid options are now accepted: --probspecsdir --prob-specs-dir --prob_specs_dir Before this commit, we could only use: --probSpecsDir That is: `--kebab-case` is now supported, even if that fact or `--prob-specs-dir` itself aren't shown in the `--help` message yet. Note that we already had case-insensitive parsing for: - the values for `mode` - the values for `verbosity` - arguments (we support `canonical_data_syncer HELP`) Fixes: exercism#79
ee7
changed the title
Fix(cli): Make options insensitive to case, '-' and '_'
CLI: Parse options insensitive to case, '-' and '_'
May 10, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In #76 (comment) @ee7 wrote:
This will allow
--prob-specs-dir
even if it isn't shown in the--help
like that yet.I'll do this soon.
The text was updated successfully, but these errors were encountered: