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

doc: Added entry for run command option profile-create-new-if-missing #832

Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 13 additions & 2 deletions src/content/documentation/develop/web-ext-command-reference.md
Expand Up @@ -23,9 +23,10 @@ contributors:
sharang,
chrisdavidmills,
noraj,
akhilpanchal
]
last_updated_by: noraj
date: 2020-10-11 18:11:47
last_updated_by: akhilpanchal
date: 2020-11-15 12:46:15
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit, we may update the date before merging (not strictly mandatory to be fair)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm -- I'll go ahead and update it to reflect the next deploy date of Dec 03.

---

<!-- Page Hero Banner -->
Expand Down Expand Up @@ -244,6 +245,16 @@ If a profile is not specified, it runs the extension using a new temporary profi

Environment variable: `$WEB_EXT_FIREFOX_PROFILE`

#### `--profile-create-if-missing`

With this option, the profile directory (specified by the `--firefox-profile` or `--chromium-profile` options) will be created if it does not exist yet.

::: note alert
When this option is specified, the `--firefox-profile` option is always treated as a directory path.
:::

Environment variable: `$WEB_EXT_PROFILE_CREATE_IF_MISSING`

#### `--keep-profile-changes`

With this option, any changes made to the profile directory (specified by `--firefox-profile`) are saved. Without this option, profile changes are not saved.
Expand Down