Alternatives: The Resume CLI tool works as it is so there isn't a huge amount of active development on it, try these alternatives if it doesn't work for you;
Please npm install the theme you wish to use locally before attempting to export it.
Options:
--format <file type> Example: --format pdf
--theme <name> Example: --theme even
resume serve
Starts a web server that serves your local resume.json. It will live reload when you make edits to your resume.json.
Options:
--port <port>
--theme <name>
When developing themes, simply change into your theme directory and run resume serve --theme . (which tells it to run the local folder as the specified theme)
quaff: if --resume is a directory, then the path is passed to quaff and the resulting json is used as the resume. quaff supports a variety of formats in the directory, including javascript modules.
resume data
Setting --resume - tells the cli to read resume data from standard input (stdin), and defaults --type to application/json.
Setting --resume <path> reads resume data from path.
Leaving --resume unset defaults to reading from resume.json on the current working directory.
resume mime types
Supported resume data mime types are:
application/json
text/yaml
Development
to test the cli, run the dev script:
npm run dev -- [cli arguments can be passed after the double-dash]
请发表评论