mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 16:30:11 +00:00
Change default theme to "modern".
This commit is contained in:
parent
961152850d
commit
6e4263e58c
12
README.md
12
README.md
@ -38,13 +38,13 @@ Where `[inputs]` is one or more .json resume files, `[outputs]` is one or more d
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Generate all resume formats (HTML, PDF, DOC, TXT)
|
# Generate all resume formats (HTML, PDF, DOC, TXT)
|
||||||
fluentcmd resume.json resume.all -t informatic
|
fluentcmd resume.json resume.all -t modern
|
||||||
|
|
||||||
# Generate a specific resume format
|
# Generate a specific resume format
|
||||||
fluentcmd resume.json resume.html -t informatic
|
fluentcmd resume.json resume.html -t modern
|
||||||
fluentcmd resume.json resume.txt -t informatic
|
fluentcmd resume.json resume.txt -t modern
|
||||||
fluentcmd resume.json resume.pdf -t informatic
|
fluentcmd resume.json resume.pdf -t modern
|
||||||
fluentcmd resume.json resume.doc -t informatic
|
fluentcmd resume.json resume.doc -t modern
|
||||||
```
|
```
|
||||||
|
|
||||||
You should see something to the effect of:
|
You should see something to the effect of:
|
||||||
@ -94,7 +94,7 @@ fluentcmd me.json out1.doc out1.pdf foo.txt
|
|||||||
You can also omit the output file(s) and/or theme completely:
|
You can also omit the output file(s) and/or theme completely:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Equivalent to "fluentcmd resume.json resume.all -t informatic"
|
# Equivalent to "fluentcmd resume.json resume.all -t modern"
|
||||||
fluentcmd resume.json
|
fluentcmd resume.json
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,14 +19,14 @@ module.exports = function () {
|
|||||||
generate 0..N resumes in the desired formats.
|
generate 0..N resumes in the desired formats.
|
||||||
@param src Path to the source JSON resume file: "rez/resume.json".
|
@param src Path to the source JSON resume file: "rez/resume.json".
|
||||||
@param dst An array of paths to the target resume file(s).
|
@param dst An array of paths to the target resume file(s).
|
||||||
@param theme Friendly name of the resume theme. Defaults to "informatic".
|
@param theme Friendly name of the resume theme. Defaults to "modern".
|
||||||
@param logger Optional logging override.
|
@param logger Optional logging override.
|
||||||
*/
|
*/
|
||||||
function gen( src, dst, theme, logger, errHandler ) {
|
function gen( src, dst, theme, logger, errHandler ) {
|
||||||
|
|
||||||
_log = logger || console.log;
|
_log = logger || console.log;
|
||||||
_err = errHandler || error;
|
_err = errHandler || error;
|
||||||
_opts.theme = (theme && theme.toLowerCase().trim()) || 'informatic';
|
_opts.theme = (theme && theme.toLowerCase().trim()) || 'modern';
|
||||||
|
|
||||||
// Load input resumes...
|
// Load input resumes...
|
||||||
if(!src || !src.length) { throw { fluenterror: 3 }; }
|
if(!src || !src.length) { throw { fluenterror: 3 }; }
|
||||||
@ -105,7 +105,7 @@ module.exports = function () {
|
|||||||
Default options.
|
Default options.
|
||||||
*/
|
*/
|
||||||
var _opts = {
|
var _opts = {
|
||||||
theme: 'informatic',
|
theme: 'modern',
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -15,7 +15,7 @@ try {
|
|||||||
var args = ARGS( process.argv.slice(2) );
|
var args = ARGS( process.argv.slice(2) );
|
||||||
var src = args._.filter( function( a ) { return a.match(/\.json$/); });
|
var src = args._.filter( function( a ) { return a.match(/\.json$/); });
|
||||||
var dst = args._.filter( function( a ) { return !a.match(/\.json$/); });
|
var dst = args._.filter( function( a ) { return !a.match(/\.json$/); });
|
||||||
FCMD.generate( src, dst, args.t || 'informatic' );
|
FCMD.generate( src, dst, args.t || 'modern' );
|
||||||
process.platform !== 'win32' && console.log('\n');
|
process.platform !== 'win32' && console.log('\n');
|
||||||
}
|
}
|
||||||
catch( ex ) {
|
catch( ex ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user