1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-05 09:56:22 +00:00

Fix: Broken HELP command.

This commit is contained in:
hacksalot 2015-12-30 14:00:09 -05:00
parent 39d61c66b9
commit 97c9ba08d0

View File

@ -8,15 +8,16 @@ Internal resume generation logic for HackMyResume.
module.exports = function () {
var unused = require('./utils/string')
, PATH = require('path');
, PATH = require('path')
, FS = require('fs');
/**
Display help documentation.
*/
function help() {
console.log( FS.readFileSync( PATH.join(__dirname, 'use.txt'), 'utf8' )
.useful.bold );
var manPage = FS.readFileSync( PATH.join(__dirname, 'use.txt'), 'utf8' );
console.log( manPage.useful.bold );
}
/**
@ -28,7 +29,7 @@ Internal resume generation logic for HackMyResume.
convert: require('./verbs/convert'),
new: require('./verbs/create'),
help: help
}
};
return {
verbs: v,