We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How does setting the $WEB_EXT_PREF environment variable work when setting multiple preference values? Once we figure it out, let's update the docs: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/web-ext_command_reference?document_saved=true#--pref
$WEB_EXT_PREF
The text was updated successfully, but these errors were encountered:
@kumar303 These are the relevant pieces from the yargs sources:
it looks like nested keys are supported, but unfortunately multiple instances of the same option is not a supported scenario :-(
Sorry, something went wrong.
We might need to support a colon here after all just for environment variable support :) Something like:
export WEB_EXT_PREF="first.pref=value:second.pref=true"
You can use the --pref option multiple times:
--pref
web-ext run -s build/ --pref intl.locale.requested=ar --pref intl.locale.matchOS=false --pref general.useragent.locale=ar
No branches or pull requests
How does setting the
$WEB_EXT_PREF
environment variable work when setting multiple preference values? Once we figure it out, let's update the docs: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/web-ext_command_reference?document_saved=true#--prefThe text was updated successfully, but these errors were encountered: