mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 08:20:11 +00:00
commit
d0c181ee8c
@ -50,9 +50,9 @@ module.exports = function (grunt) {
|
|||||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||||
|
|
||||||
grunt.registerTask('test', 'Test the FluentCV library.',
|
grunt.registerTask('test', 'Test the HackMyResume library.',
|
||||||
function( config ) { grunt.task.run( ['clean','simplemocha:all'] ); });
|
function( config ) { grunt.task.run( ['clean','simplemocha:all'] ); });
|
||||||
grunt.registerTask('document', 'Generate FluentCV library documentation.',
|
grunt.registerTask('document', 'Generate HackMyResume library documentation.',
|
||||||
function( config ) { grunt.task.run( ['yuidoc'] ); });
|
function( config ) { grunt.task.run( ['yuidoc'] ); });
|
||||||
grunt.registerTask('default', [ 'jshint', 'test', 'yuidoc' ]);
|
grunt.registerTask('default', [ 'jshint', 'test', 'yuidoc' ]);
|
||||||
|
|
||||||
|
122
README.md
122
README.md
@ -1,13 +1,13 @@
|
|||||||
fluentCV
|
HackMyResume
|
||||||
========
|
============
|
||||||
*Create polished résumés and CVs in multiple formats from your command line or
|
*Create polished résumés and CVs in multiple formats from your command line or
|
||||||
shell. Author in clean Markdown and JSON, export to Word, HTML, PDF, LaTeX,
|
shell. Author in clean Markdown and JSON, export to Word, HTML, PDF, LaTeX,
|
||||||
plain text, and other arbitrary formats.*
|
plain text, and other arbitrary formats.*
|
||||||
|
|
||||||
![](assets/resume-bouqet.png)
|
![](assets/resume-bouqet.png)
|
||||||
|
|
||||||
FluentCV is a dev-friendly, local-only Swiss Army knife for resumes and CVs. Use
|
HackMyResume is a dev-friendly, local-only Swiss Army knife for resumes and CVs.
|
||||||
it to:
|
Use it to:
|
||||||
|
|
||||||
1. **Generate** HTML, Markdown, LaTeX, MS Word, PDF, plain text, JSON, XML,
|
1. **Generate** HTML, Markdown, LaTeX, MS Word, PDF, plain text, JSON, XML,
|
||||||
YAML, print, smoke signal, carrier pigeon, and other arbitrary-format resumes
|
YAML, print, smoke signal, carrier pigeon, and other arbitrary-format resumes
|
||||||
@ -15,10 +15,8 @@ and CVs, from a single source of truth—without violating DRY.
|
|||||||
2. **Convert** resumes between [FRESH][fresca] and [JSON Resume][6] formats.
|
2. **Convert** resumes between [FRESH][fresca] and [JSON Resume][6] formats.
|
||||||
3. **Validate** resumes against either format.
|
3. **Validate** resumes against either format.
|
||||||
|
|
||||||
FluentCV is built with Node.js and runs on recent versions of OS X, Linux, or
|
HackMyResume is built with Node.js and runs on recent versions of OS X, Linux,
|
||||||
Windows.
|
or Windows.
|
||||||
|
|
||||||
![](assets/fluentcv_cli_ubuntu.png)
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
@ -35,10 +33,10 @@ Windows.
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
Install FluentCV with NPM:
|
Install HackMyResume with NPM:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
[sudo] npm install fluentcv -g
|
[sudo] npm install hackmyresume -g
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: for PDF generation you'll need to install a copy of [wkhtmltopdf][3] for
|
Note: for PDF generation you'll need to install a copy of [wkhtmltopdf][3] for
|
||||||
@ -47,49 +45,49 @@ access to `xelatex` and similar.
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
To use FluentCV you'll need to create a valid resume in either [FRESH][fresca]
|
To use HackMyResume you'll need to create a valid resume in either
|
||||||
or [JSON Resume][6] format. Then you can start using the command line tool.
|
[FRESH][fresca] or [JSON Resume][6] format. Then you can start using the command
|
||||||
There are four basic commands you should be aware of:
|
line tool. There are four basic commands you should be aware of:
|
||||||
|
|
||||||
- `build` generates resumes in HTML, Word, Markdown, PDF, and other formats. Use
|
- `build` generates resumes in HTML, Word, Markdown, PDF, and other formats. Use
|
||||||
it when you need to submit, upload, print, or email resumes in specific formats.
|
it when you need to submit, upload, print, or email resumes in specific formats.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# fluentcv BUILD <INPUTS> TO <OUTPUTS> [-t THEME]
|
# hackmyresume BUILD <INPUTS> TO <OUTPUTS> [-t THEME]
|
||||||
fluentcv BUILD resume.json TO out/resume.all
|
hackmyresume BUILD resume.json TO out/resume.all
|
||||||
fluentcv BUILD r1.json r2.json TO out/rez.html out/rez.md foo/rez.all
|
hackmyresume BUILD r1.json r2.json TO out/rez.html out/rez.md foo/rez.all
|
||||||
```
|
```
|
||||||
|
|
||||||
- `new` creates a new resume in FRESH or JSON Resume format.
|
- `new` creates a new resume in FRESH or JSON Resume format.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# fluentcv NEW <OUTPUTS> [-f <FORMAT>]
|
# hackmyresume NEW <OUTPUTS> [-f <FORMAT>]
|
||||||
fluentcv NEW resume.json
|
hackmyresume NEW resume.json
|
||||||
fluentcv NEW resume.json -f fresh
|
hackmyresume NEW resume.json -f fresh
|
||||||
fluentcv NEW r1.json r2.json -f jrs
|
hackmyresume NEW r1.json r2.json -f jrs
|
||||||
```
|
```
|
||||||
|
|
||||||
- `convert` converts your source resume between FRESH and JSON Resume formats.
|
- `convert` converts your source resume between FRESH and JSON Resume formats.
|
||||||
Use it to convert between the two formats to take advantage of tools and services.
|
Use it to convert between the two formats to take advantage of tools and services.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# fluentcv CONVERT <INPUTS> TO <OUTPUTS>
|
# hackmyresume CONVERT <INPUTS> TO <OUTPUTS>
|
||||||
fluentcv CONVERT resume.json TO resume-jrs.json
|
hackmyresume CONVERT resume.json TO resume-jrs.json
|
||||||
fluentcv CONVERT 1.json 2.json 3.json TO out/1.json out/2.json out/3.json
|
hackmyresume CONVERT 1.json 2.json 3.json TO out/1.json out/2.json out/3.json
|
||||||
```
|
```
|
||||||
|
|
||||||
- `validate` validates the specified resume against either the FRESH or JSON
|
- `validate` validates the specified resume against either the FRESH or JSON
|
||||||
Resume schema. Use it to make sure your resume data is sufficient and complete.
|
Resume schema. Use it to make sure your resume data is sufficient and complete.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# fluentcv VALIDATE <INPUTS>
|
# hackmyresume VALIDATE <INPUTS>
|
||||||
fluentcv VALIDATE resume.json
|
hackmyresume VALIDATE resume.json
|
||||||
fluentcv VALIDATE r1.json r2.json r3.json
|
hackmyresume VALIDATE r1.json r2.json r3.json
|
||||||
```
|
```
|
||||||
|
|
||||||
## Supported Output Formats
|
## Supported Output Formats
|
||||||
|
|
||||||
FluentCV supports these output formats:
|
HackMyResume supports these output formats:
|
||||||
|
|
||||||
Output Format | Ext | Notes
|
Output Format | Ext | Notes
|
||||||
------------- | --- | -----
|
------------- | --- | -----
|
||||||
@ -107,11 +105,11 @@ image | .png, .bmp | Forthcoming.
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
FluentCV requires a recent version of [Node.js][4] and [NPM][5]. Then:
|
HackMyResume requires a recent version of [Node.js][4] and [NPM][5]. Then:
|
||||||
|
|
||||||
1. Install the latest official [wkhtmltopdf][3] binary for your platform.
|
1. Install the latest official [wkhtmltopdf][3] binary for your platform.
|
||||||
2. Optionally install an updated LaTeX environment (LaTeX resumes only).
|
2. Optionally install an updated LaTeX environment (LaTeX resumes only).
|
||||||
2. Install **fluentCV** with `[sudo] npm install fluentcv -g`.
|
2. Install **HackMyResume** with `[sudo] npm install hackmyresume -g`.
|
||||||
3. You're ready to go.
|
3. You're ready to go.
|
||||||
|
|
||||||
## Use
|
## Use
|
||||||
@ -120,7 +118,7 @@ Assuming you've got a JSON-formatted resume handy, generating resumes in
|
|||||||
different formats and combinations easy. Just run:
|
different formats and combinations easy. Just run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
fluentcv BUILD <INPUTS> <OUTPUTS> [-t theme].
|
hackmyresume BUILD <INPUTS> <OUTPUTS> [-t theme].
|
||||||
```
|
```
|
||||||
|
|
||||||
Where `<INPUTS>` is one or more .json resume files, separated by spaces;
|
Where `<INPUTS>` is one or more .json resume files, separated by spaces;
|
||||||
@ -129,25 +127,25 @@ theme (default to Modern). For example:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Generate all resume formats (HTML, PDF, DOC, TXT, YML, etc.)
|
# Generate all resume formats (HTML, PDF, DOC, TXT, YML, etc.)
|
||||||
fluentcv build resume.json -o out/resume.all -t modern
|
hackmyresume build resume.json -o out/resume.all -t modern
|
||||||
|
|
||||||
# Generate a specific resume format
|
# Generate a specific resume format
|
||||||
fluentcv build resume.json TO out/resume.html
|
hackmyresume build resume.json TO out/resume.html
|
||||||
fluentcv build resume.json TO out/resume.pdf
|
hackmyresume build resume.json TO out/resume.pdf
|
||||||
fluentcv build resume.json TO out/resume.md
|
hackmyresume build resume.json TO out/resume.md
|
||||||
fluentcv build resume.json TO out/resume.doc
|
hackmyresume build resume.json TO out/resume.doc
|
||||||
fluentcv build resume.json TO out/resume.json
|
hackmyresume build resume.json TO out/resume.json
|
||||||
fluentcv build resume.json TO out/resume.txt
|
hackmyresume build resume.json TO out/resume.txt
|
||||||
fluentcv build resume.json TO out/resume.yml
|
hackmyresume build resume.json TO out/resume.yml
|
||||||
|
|
||||||
# Specify 2 inputs and 3 outputs
|
# Specify 2 inputs and 3 outputs
|
||||||
fluentcv build in1.json in2.json TO out.html out.doc out.pdf
|
hackmyresume build in1.json in2.json TO out.html out.doc out.pdf
|
||||||
```
|
```
|
||||||
|
|
||||||
You should see something to the effect of:
|
You should see something to the effect of:
|
||||||
|
|
||||||
```
|
```
|
||||||
*** FluentCV v0.9.0 ***
|
*** HackMyResume v0.9.0 ***
|
||||||
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
|
||||||
@ -166,8 +164,8 @@ Generating YAML resume: out/resume.yml
|
|||||||
You can specify a predefined or custom theme via the optional `-t` parameter. For a predefined theme, include the theme name. For a custom theme, include the path to the custom theme's folder.
|
You can specify a predefined or custom theme via the optional `-t` parameter. For a predefined theme, include the theme name. For a custom theme, include the path to the custom theme's folder.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
fluentcv build resume.json -t modern
|
hackmyresume build resume.json -t modern
|
||||||
fluentcv build resume.json -t ~/foo/bar/my-custom-theme/
|
hackmyresume build resume.json -t ~/foo/bar/my-custom-theme/
|
||||||
```
|
```
|
||||||
|
|
||||||
As of v0.9.0, available predefined themes are `modern`, `minimist`, and `hello-world`, and `compact`.
|
As of v0.9.0, available predefined themes are `modern`, `minimist`, and `hello-world`, and `compact`.
|
||||||
@ -178,13 +176,13 @@ You can **merge multiple resumes together** by specifying them in order from mos
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Merge specific.json onto base.json and generate all formats
|
# Merge specific.json onto base.json and generate all formats
|
||||||
fluentcv build base.json specific.json -o resume.all
|
hackmyresume build base.json specific.json -o resume.all
|
||||||
```
|
```
|
||||||
|
|
||||||
This can be useful for overriding a base (generic) resume with information from a specific (targeted) resume. For example, you might override your generic catch-all "software developer" resume with specific details from your targeted "game developer" resume, or combine two partial resumes into a "complete" resume. Merging follows conventional [extend()][9]-style behavior and there's no arbitrary limit to how many resumes you can merge:
|
This can be useful for overriding a base (generic) resume with information from a specific (targeted) resume. For example, you might override your generic catch-all "software developer" resume with specific details from your targeted "game developer" resume, or combine two partial resumes into a "complete" resume. Merging follows conventional [extend()][9]-style behavior and there's no arbitrary limit to how many resumes you can merge:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
fluentcv build in1.json in2.json in3.json in4.json TO out.html out.doc
|
hackmyresume build in1.json in2.json in3.json in4.json TO out.html out.doc
|
||||||
Reading JSON resume: in1.json
|
Reading JSON resume: in1.json
|
||||||
Reading JSON resume: in2.json
|
Reading JSON resume: in2.json
|
||||||
Reading JSON resume: in3.json
|
Reading JSON resume: in3.json
|
||||||
@ -196,72 +194,72 @@ Generating WORD resume: out.doc
|
|||||||
|
|
||||||
### Multiple targets
|
### Multiple targets
|
||||||
|
|
||||||
You can specify **multiple output targets** and FluentCV will build them:
|
You can specify **multiple output targets** and HackMyResume will build them:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Generate out1.doc, out1.pdf, and foo.txt from me.json.
|
# Generate out1.doc, out1.pdf, and foo.txt from me.json.
|
||||||
fluentcv build me.json -o out1.doc -o out1.pdf -o foo.txt
|
hackmyresume build me.json -o out1.doc -o out1.pdf -o 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 "fluentcv resume.json resume.all -t modern"
|
# Equivalent to "hackmyresume resume.json resume.all -t modern"
|
||||||
fluentcv build resume.json
|
hackmyresume build resume.json
|
||||||
```
|
```
|
||||||
|
|
||||||
### Using .all
|
### Using .all
|
||||||
|
|
||||||
The special `.all` extension tells FluentCV to generate all supported output formats for the given resume. For example, this...
|
The special `.all` extension tells HackMyResume to generate all supported output formats for the given resume. For example, this...
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Generate all resume formats (HTML, PDF, DOC, TXT, etc.)
|
# Generate all resume formats (HTML, PDF, DOC, TXT, etc.)
|
||||||
fluentcv build me.json -o out/resume.all
|
hackmyresume build me.json -o out/resume.all
|
||||||
```
|
```
|
||||||
|
|
||||||
..tells FluentCV to read `me.json` and generate `out/resume.md`, `out/resume.doc`, `out/resume.html`, `out/resume.txt`, `out/resume.pdf`, and `out/resume.json`.
|
..tells HackMyResume to read `me.json` and generate `out/resume.md`, `out/resume.doc`, `out/resume.html`, `out/resume.txt`, `out/resume.pdf`, and `out/resume.json`.
|
||||||
|
|
||||||
### Validating
|
### Validating
|
||||||
|
|
||||||
FluentCV can also validate your resumes against either the [FRESH /
|
HackMyResume can also validate your resumes against either the [FRESH /
|
||||||
FRESCA][fresca] or [JSON Resume][6] formats. To validate one or more existing
|
FRESCA][fresca] or [JSON Resume][6] formats. To validate one or more existing
|
||||||
resumes, use the `validate` command:
|
resumes, use the `validate` command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Validate myresume.json against either the FRESH or JSON Resume schema.
|
# Validate myresume.json against either the FRESH or JSON Resume schema.
|
||||||
fluentcv validate resumeA.json resumeB.json
|
hackmyresume validate resumeA.json resumeB.json
|
||||||
```
|
```
|
||||||
|
|
||||||
FluentCV will validate each specified resume in turn:
|
HackMyResume will validate each specified resume in turn:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
*** FluentCV v0.9.0 ***
|
*** HackMyResume v0.9.0 ***
|
||||||
Validating JSON resume: resumeA.json (INVALID)
|
Validating JSON resume: resumeA.json (INVALID)
|
||||||
Validating JSON resume: resumeB.json (VALID)
|
Validating JSON resume: resumeB.json (VALID)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Converting
|
### Converting
|
||||||
|
|
||||||
FluentCV can convert between the [FRESH][fresca] and [JSON Resume][6] formats.
|
HackMyResume can convert between the [FRESH][fresca] and [JSON Resume][6] formats.
|
||||||
Just run:
|
Just run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
fluentcv CONVERT <INPUTS> <OUTPUTS>
|
hackmyresume CONVERT <INPUTS> <OUTPUTS>
|
||||||
```
|
```
|
||||||
|
|
||||||
where <INPUTS> is one or more resumes in FRESH or JSON Resume format, and
|
where <INPUTS> is one or more resumes in FRESH or JSON Resume format, and
|
||||||
<OUTPUTS> is a corresponding list of output file names. FluentCV will autodetect
|
<OUTPUTS> is a corresponding list of output file names. HackMyResume will autodetect
|
||||||
the format (FRESH or JRS) of each input resume and convert it to the other
|
the format (FRESH or JRS) of each input resume and convert it to the other
|
||||||
format (JRS or FRESH).
|
format (JRS or FRESH).
|
||||||
|
|
||||||
### Prettifying
|
### Prettifying
|
||||||
|
|
||||||
FluentCV applies [js-beautify][10]-style HTML prettification by default to
|
HackMyResume applies [js-beautify][10]-style HTML prettification by default to
|
||||||
HTML-formatted resumes. To disable prettification, the `--nopretty` or `-n` flag
|
HTML-formatted resumes. To disable prettification, the `--nopretty` or `-n` flag
|
||||||
can be used:
|
can be used:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
fluentcv generate resume.json out.all --nopretty
|
hackmyresume generate resume.json out.all --nopretty
|
||||||
```
|
```
|
||||||
|
|
||||||
### Silent Mode
|
### Silent Mode
|
||||||
@ -269,8 +267,8 @@ fluentcv generate resume.json out.all --nopretty
|
|||||||
Use `-s` or `--silent` to run in silent mode:
|
Use `-s` or `--silent` to run in silent mode:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
fluentcv generate resume.json -o someFile.all -s
|
hackmyresume generate resume.json -o someFile.all -s
|
||||||
fluentcv generate resume.json -o someFile.all --silent
|
hackmyresume generate resume.json -o someFile.all --silent
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 53 KiB |
BIN
assets/hackmyresume_cli.png
Normal file
BIN
assets/hackmyresume_cli.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Binary file not shown.
Before Width: | Height: | Size: 162 KiB After Width: | Height: | Size: 170 KiB |
14
package.json
14
package.json
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "fluentcv",
|
"name": "hackmyresume",
|
||||||
"version": "0.11.0",
|
"version": "1.0.0",
|
||||||
"description": "Generate polished résumés and CVs in HTML, Markdown, LaTeX, MS Word, PDF, plain text, JSON, XML, YAML, smoke signal, and carrier pigeon.",
|
"description": "Generate polished résumés and CVs in HTML, Markdown, LaTeX, MS Word, PDF, plain text, JSON, XML, YAML, smoke signal, and carrier pigeon.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/fluentdesk/fluentcv.git"
|
"url": "https://github.com/hacksalot/HackMyResume.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"resume",
|
"resume",
|
||||||
@ -24,13 +24,13 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"preferGlobal": "true",
|
"preferGlobal": "true",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/fluentdesk/fluentcv/issues"
|
"url": "https://github.com/hacksalot/HackMyResume/issues"
|
||||||
},
|
},
|
||||||
"main": "src/fluentcmd.js",
|
"main": "src/hackmycmd.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"fluentcv": "src/index.js"
|
"hackmyresume": "src/index.js"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/fluentdesk/fluentcv",
|
"homepage": "https://github.com/hacksalot/HackMyResume",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"colors": "^1.1.2",
|
"colors": "^1.1.2",
|
||||||
"fluent-themes": "~0.7.0-beta",
|
"fluent-themes": "~0.7.0-beta",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
The FluentCV date representation.
|
The HackMyResume date representation.
|
||||||
@license MIT. Copyright (c) 2015 James Devlin / FluentDesk.
|
@license MIT. Copyright (c) 2015 James Devlin / FluentDesk.
|
||||||
@module fluent-date.js
|
@module fluent-date.js
|
||||||
*/
|
*/
|
||||||
@ -13,7 +13,7 @@ formats to be aware of here.
|
|||||||
2. The default "YYYY-MM-DD" format used in JSON Resume ("2015-02-10")
|
2. The default "YYYY-MM-DD" format used in JSON Resume ("2015-02-10")
|
||||||
3. Year-and-month only ("2015-04")
|
3. Year-and-month only ("2015-04")
|
||||||
4. Year-only "YYYY" ("2015")
|
4. Year-only "YYYY" ("2015")
|
||||||
5. The friendly FluentCV "mmm YYYY" format ("Mar 2015" or "Dec 2008")
|
5. The friendly HackMyResume "mmm YYYY" format ("Mar 2015" or "Dec 2008")
|
||||||
6. Empty dates ("", " ")
|
6. Empty dates ("", " ")
|
||||||
7. Any other date format that Moment.js can parse from
|
7. Any other date format that Moment.js can parse from
|
||||||
Note: Moment can transparently parse all or most of these, without requiring us
|
Note: Moment can transparently parse all or most of these, without requiring us
|
||||||
|
@ -16,7 +16,7 @@ Definition of the Theme class.
|
|||||||
, RECURSIVE_READ_DIR = require('recursive-readdir-sync');
|
, RECURSIVE_READ_DIR = require('recursive-readdir-sync');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The Theme class is a representation of a FluentCV theme asset.
|
The Theme class is a representation of a HackMyResume theme asset.
|
||||||
@class Theme
|
@class Theme
|
||||||
*/
|
*/
|
||||||
function Theme() {
|
function Theme() {
|
||||||
|
@ -11,7 +11,7 @@ Definition of the HtmlPdfGenerator class.
|
|||||||
, HTML = require( 'html' );
|
, HTML = require( 'html' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
An HTML-based PDF resume generator for FluentCV.
|
An HTML-based PDF resume generator for HackMyResume.
|
||||||
*/
|
*/
|
||||||
var HtmlPdfGenerator = module.exports = TemplateGenerator.extend({
|
var HtmlPdfGenerator = module.exports = TemplateGenerator.extend({
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
External API surface for FluentCV:CLI.
|
External API surface for HackMyResume.
|
||||||
@license MIT. Copyright (c) 2015 James M. Devlin / FluentDesk.
|
@license MIT. Copyright (c) 2015 James M. Devlin / FluentDesk.
|
||||||
@module fluentlib.js
|
@module hackmyapi.js
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
Internal resume generation logic for FluentCV.
|
Internal resume generation logic for HackMyResume.
|
||||||
@license MIT. Copyright (c) 2015 James M. Devlin / FluentDesk.
|
@license MIT. Copyright (c) 2015 James M. Devlin / FluentDesk.
|
||||||
@module fluentcmd.js
|
@module hackmycmd.js
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
@ -12,7 +12,7 @@ Internal resume generation logic for FluentCV.
|
|||||||
, unused = require('./utils/string')
|
, unused = require('./utils/string')
|
||||||
, FS = require('fs')
|
, FS = require('fs')
|
||||||
, _ = require('underscore')
|
, _ = require('underscore')
|
||||||
, FLUENT = require('./fluentlib')
|
, FLUENT = require('./hackmyapi')
|
||||||
, PATH = require('path')
|
, PATH = require('path')
|
||||||
, MKDIRP = require('mkdirp')
|
, MKDIRP = require('mkdirp')
|
||||||
//, COLORS = require('colors')
|
//, COLORS = require('colors')
|
||||||
@ -106,7 +106,7 @@ Internal resume generation logic for FluentCV.
|
|||||||
|
|
||||||
_log( 'Generating '.useful +
|
_log( 'Generating '.useful +
|
||||||
targInfo.fmt.outFormat.toUpperCase().useful.bold +
|
targInfo.fmt.outFormat.toUpperCase().useful.bold +
|
||||||
' resume: '.useful + path.relative(process.cwd(), f ).useful.bold);
|
' resume: '.useful + path.relative(process.cwd(), f ).replace(/\\/g,'/').useful.bold);
|
||||||
|
|
||||||
theFormat = _fmts.filter(
|
theFormat = _fmts.filter(
|
||||||
function(fmt) { return fmt.name === targInfo.fmt.outFormat; })[0];
|
function(fmt) { return fmt.name === targInfo.fmt.outFormat; })[0];
|
||||||
@ -133,7 +133,7 @@ Internal resume generation logic for FluentCV.
|
|||||||
else {
|
else {
|
||||||
_log( 'Generating '.useful +
|
_log( 'Generating '.useful +
|
||||||
targInfo.fmt.outFormat.toUpperCase().useful.bold +
|
targInfo.fmt.outFormat.toUpperCase().useful.bold +
|
||||||
' resume: '.useful + path.relative(process.cwd(), f ).useful.bold);
|
' resume: '.useful + path.relative(process.cwd(), f ).replace(/\\/g,'/').useful.bold);
|
||||||
|
|
||||||
theFormat = _fmts.filter(
|
theFormat = _fmts.filter(
|
||||||
function(fmt) { return fmt.name === targInfo.fmt.outFormat; })[0];
|
function(fmt) { return fmt.name === targInfo.fmt.outFormat; })[0];
|
||||||
@ -312,7 +312,7 @@ Internal resume generation logic for FluentCV.
|
|||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Default FluentCV options.
|
Default HackMyResume options.
|
||||||
*/
|
*/
|
||||||
var _opts = {
|
var _opts = {
|
||||||
theme: 'modern',
|
theme: 'modern',
|
||||||
@ -335,7 +335,7 @@ Internal resume generation logic for FluentCV.
|
|||||||
new: create,
|
new: create,
|
||||||
help: help
|
help: help
|
||||||
},
|
},
|
||||||
lib: require('./fluentlib'),
|
lib: require('./hackmyapi'),
|
||||||
options: _opts,
|
options: _opts,
|
||||||
formats: _fmts
|
formats: _fmts
|
||||||
};
|
};
|
@ -1,19 +1,19 @@
|
|||||||
#! /usr/bin/env node
|
#! /usr/bin/env node
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Command-line interface (CLI) for FluentCV:CLI.
|
Command-line interface (CLI) for HackMyResume.
|
||||||
@license MIT. Copyright (c) 2015 James M. Devlin / FluentDesk.
|
@license MIT. Copyright (c) 2015 James M. Devlin / FluentDesk.
|
||||||
@module index.js
|
@module index.js
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var ARGS = require( 'minimist' )
|
var ARGS = require( 'minimist' )
|
||||||
, FCMD = require( './fluentcmd')
|
, FCMD = require( './hackmycmd')
|
||||||
, PKG = require('../package.json')
|
, PKG = require('../package.json')
|
||||||
, COLORS = require('colors')
|
, COLORS = require('colors')
|
||||||
, FS = require('fs')
|
, FS = require('fs')
|
||||||
, PATH = require('path')
|
, PATH = require('path')
|
||||||
, opts = { }
|
, opts = { }
|
||||||
, title = ('*** FluentCV v' + PKG.version + ' ***').bold.white
|
, title = ('\n*** HackMyResume v' + PKG.version + ' ***').bold.white
|
||||||
, _ = require('underscore');
|
, _ = require('underscore');
|
||||||
|
|
||||||
|
|
||||||
|
18
src/use.txt
18
src/use.txt
@ -1,6 +1,6 @@
|
|||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
fluentcv <COMMAND> <SOURCES> [TO <TARGETS>] [-t <THEME>] [-f <FORMAT>]
|
hackmyresume <COMMAND> <SOURCES> [TO <TARGETS>] [-t <THEME>] [-f <FORMAT>]
|
||||||
|
|
||||||
<COMMAND> should be BUILD, NEW, CONVERT, VALIDATE, or HELP. <SOURCES> should
|
<COMMAND> should be BUILD, NEW, CONVERT, VALIDATE, or HELP. <SOURCES> should
|
||||||
be the path to one or more FRESH or JSON Resume format resumes. <TARGETS>
|
be the path to one or more FRESH or JSON Resume format resumes. <TARGETS>
|
||||||
@ -10,16 +10,16 @@ COMPACT, MINIMIST, MODERN, or HELLO-WORLD) or the relative path to a custom
|
|||||||
theme. <FORMAT> should be either FRESH (for a FRESH-format resume) or JRS
|
theme. <FORMAT> should be either FRESH (for a FRESH-format resume) or JRS
|
||||||
(for a JSON Resume-format resume).
|
(for a JSON Resume-format resume).
|
||||||
|
|
||||||
fluentcv BUILD resume.json TO out/resume.all
|
hackmyresume BUILD resume.json TO out/resume.all
|
||||||
fluentcv NEW resume.json
|
hackmyresume NEW resume.json
|
||||||
fluentcv CONVERT resume.json TO resume-jrs.json
|
hackmyresume CONVERT resume.json TO resume-jrs.json
|
||||||
fluentcv VALIDATE resume.json
|
hackmyresume VALIDATE resume.json
|
||||||
|
|
||||||
Both SOURCES and TARGETS can accept multiple files:
|
Both SOURCES and TARGETS can accept multiple files:
|
||||||
|
|
||||||
fluentCV BUILD r1.json r2.json TO out/resume.all out2/resume.html
|
hackmyresume BUILD r1.json r2.json TO out/resume.all out2/resume.html
|
||||||
fluentCV NEW r1.json r2.json r3.json
|
hackmyresume NEW r1.json r2.json r3.json
|
||||||
fluentCV VALIDATE resume.json resume2.json resume3.json
|
hackmyresume VALIDATE resume.json resume2.json resume3.json
|
||||||
|
|
||||||
See https://github.com/fluentdesk/fluentCV/blob/master/README.md for more
|
See https://github.com/hacksalot/hackmyresume/blob/master/README.md for more
|
||||||
information.
|
information.
|
||||||
|
@ -5,7 +5,7 @@ var chai = require('chai')
|
|||||||
, path = require('path')
|
, path = require('path')
|
||||||
, _ = require('underscore')
|
, _ = require('underscore')
|
||||||
, FRESHResume = require('../src/core/fresh-resume')
|
, FRESHResume = require('../src/core/fresh-resume')
|
||||||
, FCMD = require( '../src/fluentcmd')
|
, FCMD = require( '../src/hackmycmd')
|
||||||
, validator = require('is-my-json-valid')
|
, validator = require('is-my-json-valid')
|
||||||
, COLORS = require('colors');
|
, COLORS = require('colors');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user