lasercat-workshop
Version:
Cats & Lasers & johnny-five
26 lines (21 loc) • 680 B
JavaScript
const workshopper = require('tableflip-workshopper')
, path = require('path')
, menu = require('./exercises/menu')
, name = 'lasercat-workshop'
, title = 'Lasercat Workshop'
, subtitle = '\x1b[23mSelect an exercise and hit \x1b[3mEnter\x1b[23m to begin'
function fpath (f) {
return path.join(__dirname, f)
}
workshopper({
name : name
, title : title
, subtitle : subtitle
, exerciseDir : fpath('./exercises/')
, appDir : __dirname
, helpFile : fpath('help.txt')
, footerFile : fpath('footer.md')
, menuItems : []
, menu : {fg: "white", bg: 'red'}
})