Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

41
web-ext Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# web-ext
> A command-line tool for managing web extension development.
> More information: <https://github.com/mozilla/web-ext>.
- Run the web extension in the current directory in Firefox:
`web-ext run`
- Run a web extension from a specific directory in Firefox:
`web-ext run --source-dir {{path/to/directory}}`
- Display verbose execution output:
`web-ext run --verbose`
- Run a web extension in Firefox Android:
`web-ext run --target firefox-android`
- Lint the manifest and source files for errors:
`web-ext lint`
- Build and package the extension:
`web-ext build`
- Display verbose build output:
`web-ext build --verbose`
- Sign a package for self-hosting:
`web-ext sign --api-key {{api_key}} --api-secret {{api_secret}}`