mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 15:04:45 +00:00
23 lines
509 B
JavaScript
23 lines
509 B
JavaScript
module.exports = substack
|
|
var npm = require('./npm.js')
|
|
var output = require('./utils/output.js')
|
|
|
|
var isms = [
|
|
'\u001b[32mbeep \u001b[35mboop\u001b[m',
|
|
'Replace your configs with services',
|
|
'SEPARATE ALL THE CONCERNS!',
|
|
'MODULE ALL THE THINGS!',
|
|
'\\o/',
|
|
'but first, burritos',
|
|
'full time mad scientist here',
|
|
'c/,,\\'
|
|
]
|
|
|
|
function substack (args, cb) {
|
|
var i = Math.floor(Math.random() * isms.length)
|
|
output(isms[i])
|
|
var c = args.shift()
|
|
if (c) npm.commands[c](args, cb)
|
|
else cb()
|
|
}
|