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.
13 lines
373 B
13 lines
373 B
const LwsCliApp = require('lws/lib/cli-app')
|
|
|
|
class WsCliApp extends LwsCliApp {
|
|
constructor (options) {
|
|
super(options)
|
|
/* override default serve command */
|
|
this.commands.add(null, require('./command/serve'))
|
|
/* add middleware-list command */
|
|
this.commands.add('middleware-list', require('./command/middleware-list'))
|
|
}
|
|
}
|
|
|
|
module.exports = WsCliApp
|