Skip to content

Commit a52ca70

Browse files
committed
docs: update document
1 parent d0492b7 commit a52ca70

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

packages/cli/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,29 @@ cruise ignore pattern (default: "node_modules"). [see](https://github.com/sverwe
5151
code-dependency --source ./src --exclude node_modules
5252
```
5353

54+
**--export-static**
55+
56+
generate static site.
57+
58+
```bash
59+
code-dependency --source ./src --exclude node_modules --export-static ./docs
60+
```
61+
62+
**--public-path**
63+
64+
```bash
65+
code-dependency --source ./src --exclude node_modules --export-static ./docs --public-path /docs
66+
code-dependency --source ./src --exclude node_modules --export-static ./docs --public-path https://himenon.github.io/code-dependency/
67+
```
68+
69+
**--dry-run** (experimental)
70+
71+
if failed generate static file and retry generate static file only unfinished path.
72+
73+
```bash
74+
code-dependency --source ./src --exclude node_modules --export-static ./docs --dry-run
75+
```
76+
5477
## License
5578

5679
@code-dependency/cli is [MIT licensed](https://github.com/Himenon/code-dependency/blob/master/LICENSE).

0 commit comments

Comments
 (0)