Skip to content

Commit 3cb4612

Browse files
committed
docs: description for skip parse, #332
1 parent a77c7a1 commit 3cb4612

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

readme.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
> [PostHTML][posthtml-url] сommand line interface
44
5-
[![Actions Status](https://github.com/posthtml/posthtml-cli/workflows/Actions%20Status/badge.svg?style=flat-square)](https://github.com/posthtml/posthtml-cli/actions?query=workflow%3A%22CI+tests%22)[![node][node-image]][node-url][![NPM version][npm-image]][npm-url][![Dependency Status][depstat-image]][depstat-url][![XO code style][style]][style-url][![Coveralls Status][coveralls-image]][coveralls-url]
5+
[![Actions Status](https://github.com/posthtml/posthtml-cli/workflows/Actions%20Status/badge.svg?style=flat-square)](https://github.com/posthtml/posthtml-cli/actions?query=workflow%3A%22CI+tests%22)[![node][node-image]][node-url][![NPM version][npm-image]][npm-url][![XO code style][style]][style-url][![Coveralls Status][coveralls-image]][coveralls-url]
66

7-
[![npm downloads][npm-download-image]][npm-download-url][![npm][npm-total-download-image]][npm-total-download-url][![Package Quality][pkg-q-image]][pkg-q-url]
7+
[![npm downloads][npm-download-image]][npm-download-url][![npm][npm-total-download-image]][npm-total-download-url]
88

99
## Install
1010

@@ -28,6 +28,7 @@ $ posthtml --help
2828
--use -u PostHTML plugin name
2929
--root -r Mirror the directory structure relative to this path in the output directory(default: .)
3030
--allInOutput -a Save the nesting structure for output
31+
--skip -s Skip parsing file
3132
--help -h CLI Help
3233
--version -v CLI Version
3334

@@ -36,6 +37,7 @@ $ posthtml --help
3637
$ posthtml input.html -o output.html
3738
$ posthtml inputFolder/*.html !unicorn.html
3839
$ posthtml '**/*.html' '\!**/unicorn.html'
40+
$ posthtml '**/*.html' -s unicorn.html
3941
$ posthtml input-one.html input-two.html -o outputFolder
4042
$ posthtml input.html -o output.html -c posthtml.js
4143
$ posthtml input.html -o output.html -u posthtml-bem --posthtml-bem.elemPrefix __
@@ -52,6 +54,7 @@ $ posthtml --help
5254
"root": "src",
5355
"input": "*.html",
5456
"output": "dist",
57+
"skip": ["skip.html", "file.html"]
5558
"options": {
5659
"sync": true,
5760
"directives": [{"name": "?php", "start": "<", "end": ">"}]
@@ -67,8 +70,6 @@ $ posthtml --help
6770
> example config _`.posthtmlrc`_
6871
6972
[posthtml-url]: http://github.com/posthtml/posthtml
70-
[pkg-q-url]: http://packagequality.com/#?package=posthtml-cli
71-
[pkg-q-image]: http://npm.packagequality.com/shield/posthtml-cli.svg?style=flat-square
7273
[npm-total-download-url]: https://www.npmjs.com/package/posthtml-cli
7374
[npm-total-download-image]: https://img.shields.io/npm/dt/posthtml-cli.svg?style=flat-square
7475
[npm-download-url]: https://www.npmjs.com/package/posthtml-cli
@@ -81,9 +82,5 @@ $ posthtml --help
8182
[testen-image]: https://img.shields.io/badge/testen-passing-brightgreen.svg?style=flat-square
8283
[coveralls-url]: https://coveralls.io/r/posthtml/posthtml-cli
8384
[coveralls-image]: http://img.shields.io/coveralls/posthtml/posthtml-cli.svg?style=flat-square
84-
[depstat-url]: https://david-dm.org/posthtml/posthtml-cli
85-
[depstat-image]: https://david-dm.org/posthtml/posthtml-cli.svg?style=flat-square
86-
[depstat-dev-url]: https://david-dm.org/posthtml/posthtml-cli
87-
[depstat-dev-image]: https://david-dm.org/posthtml/posthtml-cli/dev-status.svg?style=flat-square
8885
[style-url]: https://github.com/sindresorhus/xo
89-
[style]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square
86+
[style]: https://badgen.net/xo/status/chalk?style=flat-square

0 commit comments

Comments
 (0)