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

CLI - make sure options are not "camelCased" but "have-dashes" instead #904

Merged
merged 5 commits into from
Mar 12, 2021

Conversation

macbre
Copy link
Owner

@macbre macbre commented Mar 12, 2021

Resolves #863

  • normalise options (camel-cased by commander) to dashed-notation using de-camelify
  • add CLI test cases to CI pipeline

@macbre macbre added the bug label Mar 12, 2021
@macbre macbre added this to the v2.2 milestone Mar 12, 2021
@macbre macbre marked this pull request as ready for review March 12, 2021 15:51
@macbre macbre enabled auto-merge March 12, 2021 15:52
@macbre macbre merged commit 5fb3f06 into devel Mar 12, 2021
@macbre macbre deleted the decamelize-options branch March 12, 2021 15:53
@gmetais
Copy link
Contributor

gmetais commented Mar 12, 2021

👍👍👍

Just wondering if this line should be camel cased:

if (phantomasOptions["ignoreSslErrors"]) {

@macbre
Copy link
Owner Author

macbre commented Mar 12, 2021

Will fix that in #906 . Thanks for spotting this one 👌🏻

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

Successfully merging this pull request may close these issues.

CLI options are camel cased, then do not work
2 participants