1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-23 00:40:10 +00:00
Commit Graph

320 Commits

Author SHA1 Message Date
hacksalot
934d8a6123 Update --options file loading. 2016-01-15 13:36:20 -05:00
hacksalot
defe9b6e95 Remove magic number. 2016-01-15 13:35:45 -05:00
hacksalot
4c5ccc001a Introduce PEEK command.
Peek at arbitrary resumes and resume objects paths with "hackmyresume
peek <resume> [objectPath]". For ex:

hackmyresume PEEK resume.json
hackmyresume PEEK resume.json info
hackmyresume PEEK resume.json employment[2].keywords
hackmyresume PEEK r1.json r2.json r3.json info.brief
2016-01-15 13:08:01 -05:00
hacksalot
c9ae2ffef3 Improve errors / tests consistency. 2016-01-14 14:22:26 -05:00
hacksalot
37ea6cf804 Rename error-handler.js to error.js. 2016-01-14 11:49:27 -05:00
hacksalot
a9c685c6a4 Refactor error handling (interim). 2016-01-14 11:47:05 -05:00
hacksalot
7765e85336 Integrate printf(). 2016-01-14 09:46:29 -05:00
hacksalot
7af50c51f6 Gather. 2016-01-14 08:48:07 -05:00
hacksalot
19b30d55ec Move error handling out of core. 2016-01-13 15:28:02 -05:00
hacksalot
1b94ada709 Misc improvements. 2016-01-12 18:13:54 -05:00
hacksalot
1966b0a862 Move string transformation out of FRESHResume. 2016-01-12 13:28:20 -05:00
hacksalot
8ced6a730a Fix BUILD command event notifications. 2016-01-12 12:46:55 -05:00
hacksalot
6cd1e60e79 Sort projects. 2016-01-12 12:46:18 -05:00
hacksalot
be691e4230 Remove commented lines. 2016-01-12 12:46:05 -05:00
hacksalot
07b23109f9 Use async spawn() by default. 2016-01-12 12:32:32 -05:00
hacksalot
b961fd1c07 Fix global leak. 2016-01-11 21:14:40 -05:00
hacksalot
f965bf456a Fix JSON file loading glitch with --options. 2016-01-11 20:52:07 -05:00
hacksalot
69be38110f Update license notice in index.js. 2016-01-11 19:56:44 -05:00
hacksalot
3800e19418 Process TXT global partials. 2016-01-11 19:56:19 -05:00
hacksalot
11bfcd4bef Support raw JSON in the --options parameter. 2016-01-11 18:07:56 -05:00
hacksalot
7814786957 Recruit Markdown partials when present. 2016-01-11 12:36:00 -05:00
hacksalot
542776fd2e Add shortcut options to man page. 2016-01-11 08:31:05 -05:00
hacksalot
815ee3dc7e Support lowercase -v version flag.
Commander.js built-in version handling uses an uppercase shortcut (-V)
for the version, so the common -v (lowercase) isn't recognized and
errors out.
2016-01-11 08:29:46 -05:00
hacksalot
376e720f4b Scrub. 2016-01-11 08:21:06 -05:00
hacksalot
b224c8939b Remove redundant conditional. 2016-01-11 08:20:48 -05:00
hacksalot
0ecac98cff Remove totally unnecessary line.
Totally.
2016-01-10 19:11:43 -05:00
hacksalot
1416f57d0b Move verb.js to /verbs folder. 2016-01-10 19:08:29 -05:00
hacksalot
65c7e41c53 Remove unused var. 2016-01-10 19:02:24 -05:00
hacksalot
c8cc673ad5 Update man page. 2016-01-10 18:48:57 -05:00
hacksalot
656dbe2fc2 Capture. 2016-01-10 14:53:22 -05:00
hacksalot
a4ee7127ee Fix stack reporting glitch. 2016-01-10 13:28:20 -05:00
hacksalot
fee21a7b17 Always use JSONLint for SyntaxError post-processing.
Remove the check for SyntaxError's built-in line and character
indicators and always re-parse on error to grab the line/column.
2016-01-10 05:17:28 -05:00
hacksalot
bd8b587c5b Remove explicit logger and error handler params. 2016-01-09 22:34:21 -05:00
hacksalot
4c954b79df Scrub. 2016-01-09 22:15:50 -05:00
hacksalot
b7fffbcf73 Update helper reference in analysis .hbs. 2016-01-09 22:14:34 -05:00
hacksalot
0829800b65 Move helpers to /helpers. 2016-01-09 22:13:29 -05:00
hacksalot
d7cfc76636 Promote console helpers has to console-helpers.js. 2016-01-09 22:11:06 -05:00
hacksalot
f18910f490 Generate ANALYZE console output from Handlebars template. 2016-01-09 20:18:56 -05:00
hacksalot
540ad48d61 Scrub. 2016-01-09 16:56:30 -05:00
hacksalot
c5b8eec33a Move CLI-related assets to subfolder. 2016-01-09 16:14:28 -05:00
hacksalot
bece335a64 Fix CREATE verb output. 2016-01-09 15:58:39 -05:00
hacksalot
3aabb5028d Continue moving logging out of core. 2016-01-09 15:49:08 -05:00
hacksalot
732bc9809a Start moving logging out of core. 2016-01-09 13:58:47 -05:00
hacksalot
d77b484e55 Verbs are event emitters.
Let verbs source events through EventEmitter. Using aggregation is a bit
simpler here than extending because of the Resig "Class" stuff.
2016-01-09 08:12:55 -05:00
hacksalot
88c71f6e9c Move commands to Verb hierarchy
Move flat command functions (BUILD, ANALYZE, etc.) to a shallow Verb
hierarchy. Allow command verbs to inherit common functionality and prep
for better debugging/logging as well as test mocks.
2016-01-09 06:44:22 -05:00
hacksalot
47e8605f50 Handle args in mock/passthrough case. 2016-01-09 05:30:12 -05:00
hacksalot
9466a8c0dd Remove spawn-watch.
No longer necessary.
2016-01-09 05:29:45 -05:00
hacksalot
d878270bc6 Encapsulate CLI interface to ease testing.
Strip index.js down to its bare essentials, move primary logic to
main.js, and expose the latter via module.exports. This allows tests to
execute the same code path(s) HMR runs in production.
2016-01-08 19:22:44 -05:00
hacksalot
62c967526f Fix PDF exception glitch. 2016-01-08 18:15:12 -05:00
hacksalot
1fbfe2507b Carry over debug flag. 2016-01-08 16:33:13 -05:00