From a3ed56dd15747e60e53006df93d4240f750eab59 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Mon, 15 Feb 2016 16:38:01 -0500 Subject: [PATCH] Update JS. Keep dist/ updated with src/ for the CLI and require() folks. (package.json goes off dist). --- dist/cli/main.js | 4 ++-- dist/cli/use.txt | 1 + dist/core/abstract-resume.js | 35 +++++++++++++++++++++++++++++++++++ dist/core/fresh-resume.js | 15 +++------------ dist/core/jrs-resume.js | 15 +++------------ dist/verbs/analyze.js | 5 ++++- dist/verbs/build.js | 8 ++++++-- 7 files changed, 54 insertions(+), 29 deletions(-) diff --git a/dist/cli/main.js b/dist/cli/main.js index 0c7ea6f..27e4ba7 100644 --- a/dist/cli/main.js +++ b/dist/cli/main.js @@ -76,7 +76,7 @@ Definition of the `main` function. x = splitSrcDest.call(this); execute.call(this, x.src, x.dst, this.opts(), logMsg); }); - program.command('analyze')["arguments"]('').description('Analyze one or more resumes.').action(function(sources) { + program.command('analyze')["arguments"]('').option('--private', 'Include resume fields marked as private', false).description('Analyze one or more resumes.').action(function(sources) { execute.call(this, sources, [], this.opts(), logMsg); }); program.command('peek')["arguments"]('').description('Peek at a resume field or section').action(function(sources, sectionOrField) { @@ -84,7 +84,7 @@ Definition of the `main` function. dst = sources && sources.length > 1 ? [sources.pop()] : []; execute.call(this, sources, dst, this.opts(), logMsg); }); - program.command('build').alias('generate').option('-t --theme ', 'Theme name or path').option('-n --no-prettify', 'Disable HTML prettification', true).option('-c --css