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

8 years ago
8 years ago
8 years ago
  1. const LwsCliApp = require('lws/lib/cli-app')
  2. class WsCliApp extends LwsCliApp {
  3. constructor (options) {
  4. super(options)
  5. /* override default serve command */
  6. this.commands.add(null, require('./command/serve'))
  7. /* add middleware-list command */
  8. this.commands.add('middleware-list', require('./command/middleware-list'))
  9. }
  10. }
  11. module.exports = WsCliApp