You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
473 B

13 years ago
module.exports = substack
var npm = require("./npm.js")
var isms =
[ "\033[32mbeep \033[35mboop\033[m"
, "Replace your configs with services"
, "SEPARATE ALL THE CONCERNS!"
, "MODULE ALL THE THINGS!"
, "\\o/"
, "but first, burritos"
, "full time mad scientist here"
, "c/,,\\" ]
13 years ago
function substack (args, cb) {
var i = Math.floor(Math.random() * isms.length)
console.log(isms[i])
13 years ago
var c = args.shift()
if (c) npm.commands[c](args, cb)
else cb()
}