opx disable
Disable a plugin by short name (js, json, md, release) or by package id.
Synopsis
opx disable <name> [--task <tasks...>]
Options
| Flag | Default | Description |
|---|---|---|
--task <tasks...> |
every task the plugin provides | One or more of lint, build |
Behavior
- Plugins are written only to the tasks they provide.
opx disable jstoucheslintonly, because the official JS plugin is a linter. releaseis a static task: it sets the top-levelreleaseboolean and ignores--task.- Unknown names, and
--taskvalues a plugin doesn't provide, print an error and exit1. - Running it when nothing would change prints a message and exits
0.
Examples
opx disable js
opx disable release
opx disable @acme/opx-plugin-foo --task lint