1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-10 07:47:07 +01:00

Implemented private fields that can be included or excluded with cli switch

This commit is contained in:
Daniele Rapagnani
2016-02-14 19:15:47 +01:00
parent 3cf850ea0e
commit fed59b704e
14 changed files with 57 additions and 22 deletions

View File

@ -91,6 +91,7 @@ main = module.exports = ( rawArgs, exitCallback ) ->
program
.command('analyze')
.arguments('<sources...>')
.option('--private', 'Include resume fields marked as private', false)
.description('Analyze one or more resumes.')
.action(( sources ) ->
execute.call( this, sources, [], this.opts(), logMsg)
@ -118,6 +119,7 @@ main = module.exports = ( rawArgs, exitCallback ) ->
.option('-p --pdf <engine>', 'PDF generation engine')
.option('--no-sort', 'Sort resume sections by date', false)
.option('--tips', 'Display theme tips and warnings.', false)
.option('--private', 'Include resume fields marked as private', false)
.description('Generate resume to multiple formats')
.action(( sources, targets, options ) ->
x = splitSrcDest.call( this );

View File

@ -19,6 +19,7 @@ Available options:
--format -f The format (FRESH or JSON Resume) to use.
--debug -d Emit extended debugging info.
--assert -a Treat resume validation warnings as errors.
--private Include resume fields marked as private
--no-colors Disable terminal colors.
--tips Display theme messages and tips.
--help -h Display help documentation.