#!/usr/bin/env node

var Workshopper = require('workshopper');
var path = require('path');
var credits = require('./credits');
var menu = require('./exercises/menu');

var name = 'makemehapi';
var title = 'REST WELL WITH HAPI';
var 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'),
    menu        : [ {
        name    : 'credits',
        handler : credits
    } ],
    menuOptions : {}
});
@@ -389,23 +389,16 @@
    name 
-       
 : name,%0A
@@ -407,22 +407,16 @@
   title 
-      
 : title,
@@ -429,19 +429,16 @@
 ubtitle 
-   
 : subtit
@@ -493,21 +493,16 @@
  appDir 
-     
 : __dirn
@@ -519,19 +519,16 @@
 elpFile 
-   
 : fpath(
@@ -549,23 +549,16 @@
    menu 
-       
 : %5B %7B%0A  
@@ -568,19 +568,16 @@
    name 
-   
 : 'credi

remove spacing in declarations