rename feature-list to middleware-list.. fix --version

This commit is contained in:
Lloyd Brookes
2017-06-16 23:49:44 +01:00
parent 9b1900481d
commit f1a655a348
3 changed files with 6 additions and 6 deletions

View File

@ -0,0 +1,25 @@
class MiddlewareList {
description () {
return 'Print available middleware'
}
execute (options) {
const list = [
'lws-log',
'lws-cors',
'lws-json',
'lws-rewrite',
'lws-body-parser',
'lws-blacklist',
'lws-conditional-get',
'lws-mime',
'lws-compress',
'lws-mock-response',
'lws-spa',
'lws-static',
'lws-index'
]
console.log(list)
}
}
module.exports = MiddlewareList