added speedtest

This commit is contained in:
2017-02-12 16:04:27 +01:00
parent b5145294bd
commit aa3b85314d
3 changed files with 17 additions and 3 deletions

View File

@ -47,5 +47,11 @@ export let run = () => {
plugins.beautylog.ora.endOk('docker environment now is clean!')
})
npmdockerCli.addCommand('speedtest').then(argvArg => {
plugins.beautylog.ora.text('cleaning up docker env...')
plugins.shelljs.exec(`docker pull tianon/speedtest && docker run --rm tianon/speedtest`)
plugins.beautylog.ora.endOk('docker environment now is clean!')
})
npmdockerCli.startParse()
}