Skip to content

Commit

Permalink
命令行描述
Browse files Browse the repository at this point in the history
  • Loading branch information
walkerwzy committed Sep 14, 2017
1 parent afc03b3 commit d65cfdf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ let batchCollect = function(val) {
};
program
.version('0.0.1')
.option('-f, --file [type]', 'set input file name','index.html')
.option('-k, --datakeys [keys]', 'set data key names', collect, [])
.option('-f, --file <type>', 'set input file name','index.html')
.option('-k, --datakeys <keys>', 'set data key names', collect, [])
.option('-K, --batchdatakeys <key,key,key>', 'batch set data keys', batchCollect)
.option('-b, --base [name]', 'set the base class names', collect, [])
.option('-c, --classes [name]', 'set the class names', collect, [])
.option('-C, --batchclasses <name,name,name>', 'batch sub class names', batchCollect)
.option('-C, --batchclasses [name,name,namel', 'batch sub class names', batchCollect)
.option('-p, --passkeys [key]', 'set exclued keys', collect, [])
.option('-P, --batchpasskeys <key,key,key>', 'batch set exclued keys', batchCollect)
.option('-P, --batchpasskeys [key,key,key]', 'batch set exclued keys', batchCollect)
.option('-a, --author [name]', 'set the author name', 'walker')
.option('-j, --project [name]', 'set the project name', 'Project')
.option('-r, --copyright [name]', 'set the copyright name', 'WeDoctor Group')
Expand Down

0 comments on commit d65cfdf

Please sign in to comment.