Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions src/content/documentation/develop/web-ext-command-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ contributors:
djbrown,
Robot-Inventor
]
last_updated_by: rebloor
date: 2024-05-30
last_updated_by: willdurand
date: 2026-07-07
---

<!-- Page Hero Banner -->
Expand Down Expand Up @@ -213,6 +213,19 @@ Declares that your extension will be self-hosted.&nbsp;This disables messages re
Environment variable: `$WEB_EXT_SELF_HOSTED=true`
</section>

<section id="enterprise">

#### `--enterprise`

Treats your extension as an enterprise extension when linting.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@willdurand, can we provide more information (or a link) that explains the effect of this, e.g., which linting is reduced or enhanced?

@willdurand willdurand Jul 10, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't think we can unfortunately. The rest of the feature on AMO doesn't exist.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm wondering why we are documenting something if we can't tell people what it does? Wouldn't it be better to wait until we can provide more information on the feature?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We can always update the section once we have more information, but landing the doc with the feature that's already available seems like a good idea to me, still.


::: note
This option is new in web-ext 10.5.0.
:::

Environment variable: `$WEB_EXT_ENTERPRISE=true`
</section>

<section id="boring">

#### `--boring`
Expand Down Expand Up @@ -646,8 +659,8 @@ Environment variable: `$WEB_EXT_TIMEOUT`
The path to a JSON file containing an object with metadata for the extension's [addons.mozilla.org](https://addons.mozilla.org) (AMO) listing.

Metadata is required for the first version of an extension listed on AMO. This metadata can include any of the properties of the [addons.mozilla.org add-on API Create request JSON object](https://mozilla.github.io/addons-server/topics/api/addons.html#create). However:
- `"categories"`, `"summary"` and the version's `"license"` properties must be provided.
- [Translated fields](https://mozilla.github.io/addons-server/topics/api/overview.html#api-overview-translations) must include at least one locale.
- `"categories"`, `"summary"` and the version's `"license"` properties must be provided.
- [Translated fields](https://mozilla.github.io/addons-server/topics/api/overview.html#api-overview-translations) must include at least one locale.

A minimal JSON file looks like this:

Expand Down
Loading