doric cli mapping

This commit is contained in:
pengfei.zhou
2019-08-15 10:51:58 +08:00
parent d9eb9489b8
commit 3b67e5109f
5 changed files with 95 additions and 7 deletions

View File

@@ -14,4 +14,14 @@ program
.action(function () {
require('./scripts/watcher')
})
program
.command('build')
.action(function () {
require('./scripts/command').build()
})
program
.command('clean')
.action(function () {
require('./scripts/command').clean()
})
program.parse(process.argv)