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

refactor!: update cli options to use --no prefix for boolean values #46

Merged
merged 4 commits into from
Nov 27, 2024

Conversation

fvsch
Copy link
Owner

@fvsch fvsch commented Nov 27, 2024

Fixes #11.

BREAKING CHANGE: the previously supported text syntax for boolean
arguments, e.g. '--cors=true' or '--gzip false', is not supported
after this change. Instead, '--cors' (true) and '--no-cors' (false)
or '--gzip' (true) and '--no-gzip' (false) should be used.
BREAKING CHANGEs:
- the '--dir-list' option is now '--dirlist'
- the '--dir-file' option is now '--dirfile'
@fvsch fvsch merged commit ecf82d1 into main Nov 27, 2024
3 checks passed
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.

Refactor: explore using Node's util.parseArgs
1 participant