File tree 5 files changed +25
-2
lines changed
5 files changed +25
-2
lines changed Original file line number Diff line number Diff line change
1
+ .git /
Original file line number Diff line number Diff line change 1
1
{
2
- "extends": ["vue"]
2
+ "extends": [
3
+ "vue"
4
+ ],
5
+ "rules": {
6
+ "no-unused-vars": "off"
7
+ }
3
8
}
Original file line number Diff line number Diff line change
1
+ .eslintignore
2
+ .eslintrc
3
+ .gitignore
4
+ .travis.yml
Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : node_js
3
3
node_js : stable
4
+ os :
5
+ - linux
6
+ - osx
7
+ install :
8
+ - npm install --no-optional
Original file line number Diff line number Diff line change @@ -17,8 +17,16 @@ require('yargonaut')
17
17
. helpStyle ( 'green' )
18
18
. errorsStyle ( 'red.bold' )
19
19
20
- var argv = require ( 'yargs' )
20
+ var yargs = require ( 'yargs' )
21
21
. usage ( chalk . bold ( y18n . localized ( 'usageDesc' ) + ': docsify <command> <path> [options]' ) )
22
+ . command ( {
23
+ command : '*' ,
24
+ desc : 'the default command' ,
25
+ builder : ( ) => { } ,
26
+ handler : ( yargs ) => {
27
+ yargs . help ( )
28
+ }
29
+ } )
22
30
. command ( {
23
31
command : 'init <path> [--local] [--theme vue]' ,
24
32
alias : 'i' ,
You can’t perform that action at this time.
0 commit comments