You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note:** Automatically loads plug-ins with configuration from package.json using [post-load-plugins](https://github.com/post-org/post-load-plugins) if not used `--config` key
20
-
21
-
## Options
22
-
|Name|Type|Default|Description|
23
-
|:----|:--:|:-----:|:---------|
24
-
|`-o, --output`|`{String}`|`undefined`|Output File or Folder|
25
-
|`-r, --replace`|`{Boolean}`|`false`|Replace Input File or Files in Input Folder|
26
-
|`-i, --input`|`{String}`|`undefined`|Input File or Folder|
27
-
|`-c, --config`|`{String}`|`dirname(package.json)`|Path to config file `config.[js|json]`|
28
-
|`--auto-off`|`{Boolean}`|`false`|Disable automatically loads plug-ins with configuration from package.json|
29
-
|`-u, --use`|`{Array}`|`[]`|PostHTML plugin name|
30
-
|`-h, --help`|`{Boolean}`|`false`|CLI Help|
31
-
|`-v, --version`|`{Boolean}`|`false`|CLI Version|
32
-
33
-
## Examples
34
-
35
-
### Sample
36
-
```bash
37
-
$ posthtml -o output.html -i input.html
17
+
$ posthtml --help
18
+
19
+
Usage:
20
+
$ posthtml <patterns>
21
+
22
+
Options:
23
+
--output -o Output File or Folder
24
+
--config -c Path to config file
25
+
--use -u PostHTML plugin name
26
+
--auto-off Disable automatically loads plug-ins with configuration from package.json
> **Note:** Automatically loads plug-ins with configuration from package.json using [post-load-plugins](https://github.com/post-org/post-load-plugins) if not used `--auto-off` key
0 commit comments