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
386 B

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