1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-23 00:40:10 +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 () { module.exports = function () {
var unused = require('./utils/string') var unused = require('./utils/string')
, PATH = require('path'); , PATH = require('path')
, FS = require('fs');
/** /**
Display help documentation. Display help documentation.
*/ */
function help() { function help() {
console.log( FS.readFileSync( PATH.join(__dirname, 'use.txt'), 'utf8' ) var manPage = FS.readFileSync( PATH.join(__dirname, 'use.txt'), 'utf8' );
.useful.bold ); console.log( manPage.useful.bold );
} }
/** /**
@ -28,7 +29,7 @@ Internal resume generation logic for HackMyResume.
convert: require('./verbs/convert'), convert: require('./verbs/convert'),
new: require('./verbs/create'), new: require('./verbs/create'),
help: help help: help
} };
return { return {
verbs: v, verbs: v,