upgraded command-line-args
This commit is contained in:
@ -20,11 +20,10 @@ var url = require("url");
|
|||||||
/* specify the command line arg definitions and usage forms */
|
/* specify the command line arg definitions and usage forms */
|
||||||
var cli = cliArgs(cliOptions);
|
var cli = cliArgs(cliOptions);
|
||||||
var usage = cli.getUsage({
|
var usage = cli.getUsage({
|
||||||
title: "[bold]{local-web-server}",
|
title: "local-web-server",
|
||||||
description: "Lightweight static web server, zero configuration.",
|
description: "Lightweight static web server, zero configuration.",
|
||||||
footer: "Project home: [underline]{https://github.com/75lb/local-web-server}",
|
footer: "Project home: [underline]{https://github.com/75lb/local-web-server}",
|
||||||
usage: {
|
usage: {
|
||||||
title: "[bold]{Usage}",
|
|
||||||
forms: [
|
forms: [
|
||||||
"$ ws <server options>",
|
"$ ws <server options>",
|
||||||
"$ ws --config",
|
"$ ws --config",
|
||||||
@ -32,8 +31,8 @@ var usage = cli.getUsage({
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
groups: {
|
groups: {
|
||||||
server: "[bold]{Server}",
|
server: "Server",
|
||||||
misc: "[bold]{Misc}"
|
misc: "Misc"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"repository": "https://github.com/75lb/local-web-server",
|
"repository": "https://github.com/75lb/local-web-server",
|
||||||
"author": "Lloyd Brookes",
|
"author": "Lloyd Brookes",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"command-line-args": "^1.1.0-0",
|
"command-line-args": "^1.0.0",
|
||||||
"compression": "^1.0.2",
|
"compression": "^1.0.2",
|
||||||
"config-master": "^1",
|
"config-master": "^1",
|
||||||
"connect": "^3.0.0",
|
"connect": "^3.0.0",
|
||||||
|
Reference in New Issue
Block a user