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.
14 lines
387 B
14 lines
387 B
'use strict'
|
|
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
|