update git module

This commit is contained in:
2017-09-08 14:58:44 +02:00
parent 55014fbdb2
commit 46c9df32d8
16 changed files with 134 additions and 93 deletions

View File

@@ -1,5 +1,7 @@
import * as plugins from './npmci.plugins'
import * as paths from './npmci.paths'
// Get Info about npmci itself
let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot)
plugins.beautylog.log('npmci version: ' + npmciInfo.version)
@@ -39,6 +41,16 @@ smartcli.addCommand('command')
process.exit(1)
})
// command
smartcli.addCommand('git')
.then(async (argvArg) => {
let modGit = await npmciMods.modGit.load()
await modGit.handleCli(argvArg)
}).catch(err => {
console.log(err)
process.exit(1)
})
// build
smartcli.addCommand('docker')
.then(async argvArg => {