mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-12 00:27:08 +01:00
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
22bb3252cd | |||
fdfdd970a7 | |||
b4907dc1b9 | |||
2c6436be5e | |||
1e44ce5e5e | |||
9de5069c20 | |||
b0b2af8278 | |||
f9c4a70ca4 | |||
1782d06b37 | |||
5dee90b8e3 |
@ -58,7 +58,7 @@ fluentcv in1.json in2.json -o out.html -o out.doc -o out.pdf
|
|||||||
You should see something to the effect of:
|
You should see something to the effect of:
|
||||||
|
|
||||||
```
|
```
|
||||||
*** FluentCV v0.7.0 ***
|
*** FluentCV v0.7.2 ***
|
||||||
Reading JSON resume: foo/resume.json
|
Reading JSON resume: foo/resume.json
|
||||||
Applying MODERN Theme (7 formats)
|
Applying MODERN Theme (7 formats)
|
||||||
Generating HTML resume: out/resume.html
|
Generating HTML resume: out/resume.html
|
||||||
@ -81,7 +81,7 @@ fluentcv resume.json -t modern
|
|||||||
fluentcv resume.json -t ~/foo/bar/my-custom-theme/
|
fluentcv resume.json -t ~/foo/bar/my-custom-theme/
|
||||||
```
|
```
|
||||||
|
|
||||||
As of v0.7.0, available predefined themes are `modern`, `minimist`, and `hello-world`.
|
As of v0.7.2, available predefined themes are `modern`, `minimist`, and `hello-world`, and `compact`.
|
||||||
|
|
||||||
### Merging resumes
|
### Merging resumes
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "fluentcv",
|
"name": "fluentcv",
|
||||||
"version": "0.7.0",
|
"version": "0.7.2",
|
||||||
"description": "Generate beautiful, targeted resumes from your command line, shell, or in Javascript with Node.js.",
|
"description": "Generate beautiful, targeted resumes from your command line, shell, or in Javascript with Node.js.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -24,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/fluentdesk/fluentcv",
|
"homepage": "https://github.com/fluentdesk/fluentcv",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fluent-themes": "0.1.0-beta",
|
"fluent-themes": "0.2.0-beta",
|
||||||
"fs-extra": "^0.24.0",
|
"fs-extra": "^0.24.0",
|
||||||
"html": "0.0.10",
|
"html": "0.0.10",
|
||||||
"is-my-json-valid": "^2.12.2",
|
"is-my-json-valid": "^2.12.2",
|
||||||
|
@ -28,7 +28,7 @@ function FluentDate( dt ) {
|
|||||||
FluentDate/*.prototype*/.fmt = function( dt ) {
|
FluentDate/*.prototype*/.fmt = function( dt ) {
|
||||||
if( (typeof dt === 'string' || dt instanceof String) ) {
|
if( (typeof dt === 'string' || dt instanceof String) ) {
|
||||||
dt = dt.toLowerCase().trim();
|
dt = dt.toLowerCase().trim();
|
||||||
if( /^(present|now)$/.test(dt) ) { // "Present", "Now"
|
if( /^(present|now|current)$/.test(dt) ) { // "Present", "Now"
|
||||||
return moment();
|
return moment();
|
||||||
}
|
}
|
||||||
else if( /^\D+\s+\d{4}$/.test(dt) ) { // "Mar 2015"
|
else if( /^\D+\s+\d{4}$/.test(dt) ) { // "Mar 2015"
|
||||||
@ -40,7 +40,7 @@ FluentDate/*.prototype*/.fmt = function( dt ) {
|
|||||||
else if( /^\d{4}-\d{1,2}$/.test(dt) ) { // "2015-03", "1998-4"
|
else if( /^\d{4}-\d{1,2}$/.test(dt) ) { // "2015-03", "1998-4"
|
||||||
return moment( dt, 'YYYY-MM' );
|
return moment( dt, 'YYYY-MM' );
|
||||||
}
|
}
|
||||||
else if( /^\s\d{4}$/.test(dt) ) { // "2015"
|
else if( /^\s*\d{4}\s*$/.test(dt) ) { // "2015"
|
||||||
return moment( dt, 'YYYY' );
|
return moment( dt, 'YYYY' );
|
||||||
}
|
}
|
||||||
else if( /^\s*$/.test(dt) ) { // "", " "
|
else if( /^\s*$/.test(dt) ) { // "", " "
|
||||||
|
@ -35,7 +35,7 @@ var _defaultOpts = {
|
|||||||
},
|
},
|
||||||
prettify: { // ← See https://github.com/beautify-web/js-beautify#options
|
prettify: { // ← See https://github.com/beautify-web/js-beautify#options
|
||||||
indent_size: 2,
|
indent_size: 2,
|
||||||
unformatted: ['em','strong'],
|
unformatted: ['em','strong','a'],
|
||||||
max_char: 80, // ← See lib/html.js in above-linked repo
|
max_char: 80, // ← See lib/html.js in above-linked repo
|
||||||
//wrap_line_length: 120, <-- Don't use this
|
//wrap_line_length: 120, <-- Don't use this
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@ function main() {
|
|||||||
|
|
||||||
// Generate!
|
// Generate!
|
||||||
FCMD.generate( src, dst, opts, logMsg );
|
FCMD.generate( src, dst, opts, logMsg );
|
||||||
|
|
||||||
process.exit(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function logMsg( msg ) {
|
function logMsg( msg ) {
|
||||||
|
Reference in New Issue
Block a user