UNPKG

lasercat-workshop

Version:
26 lines (21 loc) 680 B
#!/usr/bin/env node 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'} })