docs.. tidy.. examples.. --rewrite
This commit is contained in:
@ -6,7 +6,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
name: 'log-format', alias: 'f', type: String,
|
||||
description: "If a format is supplied an access log is written to stdout. If not, a statistics view is displayed. Use a preset ('none', 'dev','combined', 'short', 'tiny' or 'logstalgia') or supply a custom format (e.g. ':method -> :url').", group: 'server'
|
||||
description: "If a format is supplied an access log is written to stdout. If not, a dynamic statistics view is displayed. Use a preset ('none', 'dev','combined', 'short', 'tiny' or 'logstalgia') or supply a custom format (e.g. ':method -> :url').", group: 'server'
|
||||
},
|
||||
{
|
||||
name: 'directory', alias: 'd', type: String,
|
||||
@ -34,15 +34,15 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
name: 'config', type: Boolean,
|
||||
description: 'Print the stored config', group: 'misc'
|
||||
description: 'Print the config found in [underline]{package.json} and/or [underline]{.local-web-server}', group: 'misc'
|
||||
}
|
||||
],
|
||||
usageData: {
|
||||
title: 'local-web-server',
|
||||
description: 'Lightweight static web server, zero configuration.',
|
||||
description: 'A simple web-server for productive front-end development.',
|
||||
footer: 'Project home: [underline]{https://github.com/75lb/local-web-server}',
|
||||
synopsis: [
|
||||
'$ ws <server options>',
|
||||
'$ ws [server options]',
|
||||
'$ ws --config',
|
||||
'$ ws --help'
|
||||
],
|
||||
|
@ -30,8 +30,6 @@ function localWebServer (options) {
|
||||
log: {},
|
||||
compress: false,
|
||||
forbid: [],
|
||||
directories: [],
|
||||
proxyRoutes: [],
|
||||
rewrite: []
|
||||
}, options)
|
||||
|
||||
|
Reference in New Issue
Block a user