diff options
author | isaacs <i@izs.me> | 2011-12-11 20:29:57 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-12-11 20:29:57 +0400 |
commit | f26bdadfabcba73472adc175e58ee31011920af8 (patch) | |
tree | 590b165f27ca26071682d58ea6f7be49618487dd /lib/substack.js | |
parent | 5f92999e002b87ac24027d5222d709b895f9ad2b (diff) |
https://twitter.com/jedschmidt/status/145897187719647232
Diffstat (limited to 'lib/substack.js')
-rw-r--r-- | lib/substack.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/substack.js b/lib/substack.js new file mode 100644 index 000000000..95a90f824 --- /dev/null +++ b/lib/substack.js @@ -0,0 +1,10 @@ +module.exports = substack +var npm = require("./npm.js") + , log = require("./utils/log.js") + +function substack (args, cb) { + console.log("\033[32mbeep \033[35mboop\033[m") + var c = args.shift() + if (c) npm.commands[c](args, cb) + else cb() +} |