Skip to content

Commit 9a2ba8b

Browse files
committed
Add --enterprise to the list of web-ext CLI flags
1 parent 166b714 commit 9a2ba8b

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

src/content/documentation/develop/web-ext-command-reference.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ contributors:
3333
djbrown,
3434
Robot-Inventor
3535
]
36-
last_updated_by: rebloor
37-
date: 2024-05-30
36+
last_updated_by: willdurand
37+
date: 2026-07-07
3838
---
3939

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

216+
<section id="enterprise">
217+
218+
#### `--enterprise`
219+
220+
Treats your extension as an enterprise extension when linting.
221+
222+
::: note
223+
This option is new in web-ext 10.5.0.
224+
:::
225+
226+
Environment variable: `$WEB_EXT_ENTERPRISE=true`
227+
</section>
228+
216229
<section id="boring">
217230

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

648661
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:
649-
- `"categories"`, `"summary"` and the version's `"license"` properties must be provided.
650-
- [Translated fields](https://mozilla.github.io/addons-server/topics/api/overview.html#api-overview-translations) must include at least one locale.
662+
- `"categories"`, `"summary"` and the version's `"license"` properties must be provided.
663+
- [Translated fields](https://mozilla.github.io/addons-server/topics/api/overview.html#api-overview-translations) must include at least one locale.
651664

652665
A minimal JSON file looks like this:
653666

0 commit comments

Comments
 (0)