You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

40 lines
1.4 KiB

module.exports = [
{
groups: "Server",
options: [
{
name: "port", alias: "p", type: Number, defaultOption: true,
description: "Web server port"
},
{
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')."
},
{
name: "directory", alias: "d", type: String,
description: "Root directory, defaults to the current directory"
},
{
name: "compress", alias: "c", type: Boolean,
description: "Enables compression"
},
{
name: "refresh-rate", alias: "r", type: Number,
description: "Statistics view refresh rate in ms. Defaults to 500."
}
]
},
{
groups: "Misc",
options: [
{
name: "help", alias: "h", type: Boolean,
description: "Print these usage instructions"
},
{
name: "config", type: Boolean,
description: "Print the stored config"
}
]
}
];