72de1bbd33
Scrub.
2015-12-30 15:21:58 -05:00
2ff912e687
Scrub.
2015-12-30 15:11:18 -05:00
ccadb0416f
Move freebie formats out of theme class.
2015-12-30 15:03:26 -05:00
5e51beddf7
Refactor.
2015-12-30 14:48:22 -05:00
97c9ba08d0
Fix: Broken HELP command.
2015-12-30 14:00:09 -05:00
39d61c66b9
Finish Theme --> FreshTheme rename.
2015-12-30 13:22:18 -05:00
7a1eadb3fc
Tweak error messages.
...
Stay away from language like "please specify a valid input resume". The
fluentcv fork can use corporate-speak. HackMyResume is more like a
gremlin -- feed it, but never after midnight.
2015-12-30 13:12:51 -05:00
1bcc2f7d0c
Add formal support for aliases.
...
new/create and build/generate
2015-12-30 13:00:30 -05:00
e3cb949992
Fix: Exception when HMR is run without params.
2015-12-30 12:59:21 -05:00
a0c356941c
Remove unnecessary line.
2015-12-30 12:44:16 -05:00
3c7868a750
Scrub.
2015-12-30 12:38:01 -05:00
3e7d9c0411
Integrate JRSTheme class.
2015-12-30 12:37:26 -05:00
b21fd93d66
Introduce JRSTheme class.
...
Start splitting out logic into dedicated abstractions for both FRESH and
JSON Resume themes given the different structure and use cases of each.
2015-12-30 12:08:46 -05:00
37e75acd86
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
2015-12-30 12:06:02 -05:00
6280a18c14
fix: missing extend method
...
fix #68
2015-12-30 19:20:22 +08:00
b803eba934
Scrub string.js.
...
Will probably be retired in favor of Node reusables.
2015-12-29 10:26:30 -05:00
483207e5a0
Improve Markdown support for JSON Resume themes.
2015-12-29 10:01:45 -05:00
02ef2b2241
Improve error handling.
...
Better support for spawn errors encountered during generation (for ex,
PDFs through wkhtml) + general refactoring.
2015-12-29 06:35:55 -05:00
13430bcad5
Refactor status codes.
2015-12-29 05:09:05 -05:00
bf5c040971
Copy JRS theme assets to target.
2015-12-29 03:10:26 -05:00
5dd3d1a3b4
chore: remove debugging console logs
2015-12-29 03:40:42 +08:00
6b0ea0c7bd
add: png format
2015-12-29 03:29:13 +08:00
3c1ae4cbd1
Add baseline support for local generation of JSON Resume themes.
2015-12-28 04:37:42 -05:00
5e7abb66bd
Safer source format conversions.
...
Quick fix against missing fields in FRESH and/or JRS (ahead of introing
more robust standalone converter thing). Address portions of #31 and
#33 .
2015-12-24 17:51:26 -05:00
358c397bb9
Show call stack on error.
...
Hat tip @Furchin.
2015-12-24 16:22:29 -05:00
3d41528059
Fix path parsing issue on prev versions of Node.js.
...
Work around absence of path.parse in Node versions < v0.12. Addresses
#31 and #33 .
2015-12-24 16:18:38 -05:00
c5ee1ee33c
Quick fix for ".history" errors.
...
Affects #31 and #33 .
2015-12-24 04:05:56 -05:00
ef2fe95bd8
Remove unused method.
2015-12-24 04:04:44 -05:00
e2589b3730
Fix validate command error.
...
Still hitting some inconsistent behavior in different NPM
versions/platforms with invalid uppercase dependency names per
https://github.com/npm/npm/issues/3692 . Partial fix for #33 .
2015-12-24 03:23:56 -05:00
ebad1677bc
Replace file-exists.js with NPM path-exists.
2015-12-22 18:55:17 -05:00
c966f6766c
Refactor verbs to separate files.
2015-12-21 02:56:02 -05:00
a54476eede
Reaffirm string-based generation.
...
In recent commits, HackMyResume generation logic, much like the pilots
in Top Gun who became too reliant on air-to-air missiles and lost the
true art of dogfighting, has become dependent on file-based generation
as implicit file assumptions have crept in. This commit reaffirms the
file-less, string-based nature of the generation process and, as a side
effect, adjusts the behavior of (binary) PDF generation to match.
2015-12-21 00:36:08 -05:00
43cd1c7e52
Allow TO keyword to be omitted.
...
If the TO keyword is missing, assume the last file passed in is the
destination file.
2015-12-20 20:53:21 -05:00
f80c333361
Scrub.
2015-12-20 20:22:46 -05:00
cdbb264093
Add string convenience method.
2015-12-20 18:42:02 -05:00
b92cf7298a
Refactor helpers.
...
Helpers shouldn't be specific to a given template engine (eg,
Handlebars) in order to allow sharing of helpers between different
template engines. Isolate abstract helpers in another module and apply
them via Handlebars.registerHelper and as necessary for other template
engines.
2015-12-20 18:24:28 -05:00
78c5081a29
Support Markdown-driven hyperlinks in MS Word.
2015-12-20 15:42:31 -05:00
80c6bb6e8b
Rename to HMR.
2015-12-19 12:37:42 -05:00
f0a22be731
Skip underscore-prefixed folders during theme load.
2015-12-19 08:39:36 -05:00
ade60022fd
Introduce new helpers.
2015-12-19 00:24:21 -05:00
92128da381
Install URL-trimming helper.
2015-12-18 14:51:51 -05:00
1441fe3ae5
Class-ify Underscore/Handlebars engine.
2015-12-18 13:17:07 -05:00
b0bc71cd66
Introduce "either" helper for Handlebars themes.
2015-12-18 13:00:47 -05:00
e908e8bb34
Add missing Underscore require().
2015-12-18 10:13:50 -05:00
d708a6c6d8
Refactor Handlebars helpers.
2015-12-18 10:10:30 -05:00
a630741098
Fix exception.
2015-12-18 10:10:19 -05:00
fc9cbab974
Choose template engine from active theme.
2015-12-17 11:04:29 -05:00
eabab26eef
Update file headers.
2015-12-17 10:15:59 -05:00
5475b081b1
Support basic Markdown in MS Word docs.
2015-12-16 23:26:53 -05:00
ae9c295ce1
Better Handlebars support.
2015-12-16 20:13:27 -05:00