Skip to content

Commit cc78d46

Browse files
Zach GreenRyanZim
authored andcommitted
Add a glob pattern as an input example (postcss#133)
1 parent dfc68e7 commit cc78d46

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ npm i -g|-D postcss-cli
2626
postcss [input.css] [OPTIONS] [-o|--output output.css] [-w|--watch]
2727
```
2828

29+
The input may also be a glob:
30+
31+
```bash
32+
postcss src/*.css [OPTIONS]
33+
```
34+
35+
Recursively read a directory:
36+
37+
```bash
38+
postcss src/**/*.css [OPTIONS]
39+
```
40+
2941
> ⚠️ If there are multiple input files, the --dir or --replace option must be passed.
3042
3143
```bash

0 commit comments

Comments
 (0)