update purge

This commit is contained in:
2017-06-07 15:16:33 +02:00
parent bdce1dbded
commit ddf7ca0466
14 changed files with 175 additions and 85 deletions

View File

@@ -43,6 +43,15 @@ smartcli.addCommand('command')
process.exit(1)
})
// purge
smartcli.addCommand('purge')
.then(async (argvArg) => {
let modPurge = await npmciMods.modPurge.load()
await modPurge.purge(argvArg)
}).catch(err => {
console.log(err)
})
// install
smartcli.addCommand('install')
.then(async (argv) => {