0.4.9 • Published 11 years ago
deep-shell v0.4.9
deep-shell
Promised based chain to manage shell call (asynchronously obviously).
deep.sh(".")
.ls()
.pwd()
.exec("cat -b ../test")
.done(function(s){
//...
})
.elog();install
globally
To have access to dpsh (cli env with deep-shell, deep-restful, deep-views and deep-node loaded) :
> npm install -g deep-shelllaunch :
> dpshusage :
deep.sh(".").pwd()...fs("...").from("...")...elog();example of script in deep-shell/bin/bmpv that bump package.json version, update git tag, push everything and publish on npm.
> cd your/git/npm/module
> bmpv minorlocally
> npm install deep-shellvar deep = require("deepjs");
require("deep-shell");
deep.sh(".").pwd()...fs("...").from("...")...elog();