@@ -4,6 +4,30 @@ The actual snapshot is saved in `index.js.snap`.
4
4
5
5
Generated by [ AVA] ( https://ava.li ) .
6
6
7
+ ## rejects promise due to error on passing in an unknown command
8
+
9
+ > Snapshot 1
10
+
11
+ `Usage: docsify <init|serve> <path>␊
12
+ ␊
13
+ Commands:␊
14
+ docsify init [path] Creates new docs␊
15
+ docsify serve [path] Run local server to preview site.␊
16
+ docsify start <path> Server for SSR␊
17
+ ␊
18
+ Global Options␊
19
+ --help, -h Show help [boolean]␊
20
+ --version, -v Show version number [boolean]␊
21
+ ␊
22
+ Documentation:␊
23
+ https://docsifyjs.github.io/docsify␊
24
+ https://docsifyjs.github.io/docsify-cli␊
25
+ ␊
26
+ Development:␊
27
+ https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md␊
28
+ ␊
29
+ Unknown argument: junkcmd`
30
+
7
31
## shows help with --help flag
8
32
9
33
> Snapshot 1
@@ -89,27 +113,3 @@ Generated by [AVA](https://ava.li).
89
113
docsify-cli version:␊
90
114
4.4.0␊
91
115
`
92
-
93
- ## rejects promise due to error on passing in an unknown command
94
-
95
- > Snapshot 1
96
-
97
- `Usage: docsify <init|serve> <path>␊
98
- ␊
99
- Commands:␊
100
- docsify init [path] Creates new docs␊
101
- docsify serve [path] Run local server to preview site.␊
102
- docsify start <path> Server for SSR␊
103
- ␊
104
- Global Options␊
105
- --help, -h Show help [boolean]␊
106
- --version, -v Show version number [boolean]␊
107
- ␊
108
- Documentation:␊
109
- https://docsifyjs.github.io/docsify␊
110
- https://docsifyjs.github.io/docsify-cli␊
111
- ␊
112
- Development:␊
113
- https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md␊
114
- ␊
115
- Unknown argument: junkcmd`
0 commit comments