Skip to content

Commit f118839

Browse files
committed
docs: update docs with cli usage
1 parent e7db3fd commit f118839

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,25 @@
22

33
Nginx configuration formatter under 10MB size.
44

5+
## Usage
6+
7+
```bash
8+
Nginx Formatter
9+
10+
Usage of ./nginx-formatter:
11+
-char
12+
Indent char, defualt: (default " ")
13+
-indent int
14+
Indent size, defualt: 2 (default 2)
15+
-input string
16+
Input directory
17+
-output string
18+
Output directory
19+
```
20+
521

622
## Docker
723

8-
<img src=".github/dockerhub.png" width="240" >
24+
<img src=".github/dockerhub.png" width="80%" >
925

1026
- https://hub.docker.com/r/soulteary/nginx-formatter

0 commit comments

Comments
 (0)