• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1module.exports = substack
2var npm = require('./npm.js')
3var output = require('./utils/output.js')
4
5var isms = [
6  '\u001b[32mbeep \u001b[35mboop\u001b[m',
7  'Replace your configs with services',
8  'SEPARATE ALL THE CONCERNS!',
9  'MODULE ALL THE THINGS!',
10  '\\o/',
11  'but first, burritos',
12  'full time mad scientist here',
13  'c/,,\\'
14]
15
16function substack (args, cb) {
17  var i = Math.floor(Math.random() * isms.length)
18  output(isms[i])
19  var c = args.shift()
20  if (c) npm.commands[c](args, cb)
21  else cb()
22}
23