1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-07-09 03:31:07 +01:00
Commit Graph

56 Commits

Author SHA1 Message Date
0ecac98cff Remove totally unnecessary line.
Totally.
2016-01-10 19:11:43 -05:00
c5b8eec33a Move CLI-related assets to subfolder. 2016-01-09 16:14:28 -05:00
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
9fdfd1b5a6 Add baseline support for -d or --debug flag.
For now, -d just force-emits the stack when there is one. In the future,
it can trigger more detailed logging info.
2016-01-08 16:08:33 -05:00
830c36818e Tweak missing file message for "new" command. 2016-01-06 14:15:27 -05:00
2d20077c08 Support --assert option for validate command.
Cause HMR to return an error code if validation fails and the --assert
option is present.
2016-01-06 00:44:34 -05:00
b1a02918ff Support --no-tips flag. 2016-01-05 10:10:24 -05:00
da5db6477b Introduce --color and --no-color options.
These are handled by Chalk, but need to be registered with Commander.js
in order for Chalk to see them.
2016-01-05 09:42:39 -05:00
ff23ee508b Restore app title. 2016-01-05 09:38:21 -05:00
ce75f09210 Refactor API interface. 2016-01-04 07:23:20 -05:00
a8fed1b69b Add missing semicolon. 2016-01-04 04:15:13 -05:00
f65cf8880e Add support for external options file. 2016-01-04 02:50:00 -05:00
c8d4a3deb3 Handle global options.
Fix broken --silent flag and set up -o/-opts.
2016-01-04 01:49:35 -05:00
c3ec3f28bd Introduce section totals inspector. 2016-01-03 05:03:31 -05:00
0a8ee721e8 Allow for multiple PDF engines / support Phantom PDFs.
Start formalizing PDF generation apparatus and support a `--pdf`
parameter allowing the user to specify the flavor of PDF generation.
2016-01-03 04:11:42 -05:00
8d7cf32988 Finish Commander.js integration. 2016-01-03 03:18:56 -05:00
8fc0fa99d3 Remove unnecessary indirection. 2016-01-03 02:39:43 -05:00
69e8adc1cc Remove 'minimist' dependency. 2016-01-03 02:25:39 -05:00
6b3396e01b Use Commander.js for invocations. 2016-01-03 02:22:26 -05:00
a95b52acd0 Refactor command processing. 2016-01-02 00:15:46 -05:00
2b669cf35c Tweak error handling for cmd params. 2016-01-01 15:06:16 -05:00
bb28e5aa8e Support --help option.
Support standard syntax for the HELP command.
2016-01-01 14:38:00 -05:00
cb14452df3 Replace colors with chalk.
Chalk has a few more options and doesn't mess around with
String.prototype.
2016-01-01 04:44:14 -05:00
069c02ddcc Interim changes supporting v1.3.0. 2015-12-31 03:34:41 -05:00
a280d8acb2 Support CSS embedding vs. linking. 2015-12-30 19:45:50 -05:00
1bcc2f7d0c Add formal support for aliases.
new/create and build/generate
2015-12-30 13:00:30 -05:00
a0c356941c Remove unnecessary line. 2015-12-30 12:44:16 -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
358c397bb9 Show call stack on error.
Hat tip @Furchin.
2015-12-24 16:22:29 -05:00
c966f6766c Refactor verbs to separate files. 2015-12-21 02:56:02 -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
80c6bb6e8b Rename to HMR. 2015-12-19 12:37:42 -05:00
eabab26eef Update file headers. 2015-12-17 10:15:59 -05:00
541198321e Fix JSHint warnings. 2015-12-09 21:44:35 -05:00
5b3a25c461 Support NEW command. 2015-12-02 14:56:36 -05:00
5735ddc495 Multiple enhancements.
A set of rough enhancements supporting FRESH:

- Added ability to process multiple sources for all commands (BUILD,
VALIDATE, CONVERT).

- Added new HELP command to show usage.

- Improved error-handling and color-coding.
2015-11-21 16:12:22 -05:00
992069b22d Cleanup. 2015-11-21 10:33:16 -05:00
317de75a5b Refactor. 2015-11-21 07:59:30 -05:00
9fbab27d73 Improve validation and color-coding. 2015-11-21 05:56:16 -05:00
a410153253 Implement "generate" and "validate" verbs.
Start moving to a more familiar verb-based interface with "generate" and
"validate" commands. Use with "fluentcv generate" or "fluentcv
validate".
2015-11-19 09:46:02 -05:00
ce95593031 Relax copyright notices. 2015-11-19 01:57:15 -05:00
5dee90b8e3 Remove process.exit() call. 2015-10-27 07:37:24 -04:00
330866a518 Rename "FluentCMD" to "FluentCV". 2015-10-27 03:54:50 -04:00
e34d02facb Always display title on error. 2015-10-26 13:17:58 -04:00
4a98e0bb25 Multiple things.
1. Load themes directly in FCMD instead of only through FluentLib.
2. Add support for silent mode (`-s` or `--silent`).
3. Silently create output folder if not present (mkdirp).
2015-10-26 08:01:01 -04:00
68f943745c Support "--no-prettify" option.
Add command-line support for "--no-prettify" and "-n". Use a negative
option here since pretty printing is enabled by default.
2015-10-25 03:04:51 -04:00
2e5a68d942 Support explicit -o output parameter.
Allow output files to be explicitly specified via -o, for ex:

fluentcmd resume.json -o out/resume.html -o out/resume.pdf
2015-10-10 21:39:32 -04:00
6e4263e58c Change default theme to "modern". 2015-10-10 15:39:13 -04:00
7ab2df6696 Improve error handling. 2015-10-07 09:29:41 -04:00