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

Drop minimist in favor of util.parseArgs #93

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Drop minimist in favor of util.parseArgs #93

merged 1 commit into from
Nov 8, 2023

Conversation

runarberg
Copy link
Owner

Also refactor the cli utility.

CLI Changes

  • The double dash between args and positionals is no longer required, though still recommended.
  • Now we handle every positional as input as opposed to only the first. This means you can omit quoting the input However repeated whitespace is not perserved this way, so quoting is still recommended.

Breaking Changes

  • CLI will now fail with a message on unrecognized option.

Also refactor the cli utility.

**CLI Changes**

- The double dash between args and positionals is no longer required,
  though still recommended.
- Now we handle every positional as input as opposed to only the
  first. This means you can omit quoting the input However repeated
  whitespace is not perserved this way, so quoting is still
  recommended.

**Breaking Changes**

- CLI will now fail with a message on unrecognized option.
@runarberg runarberg merged commit a140d38 into main Nov 8, 2023
6 checks passed
@runarberg runarberg deleted the refactor-cli branch November 8, 2023 11:30
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

Successfully merging this pull request may close these issues.

1 participant