This is the command line tool for JSON Resume, the open-source initiative to create a JSON-based standard for resumes.
This repository is not actively maintained. It's recommended to use one of the third-party clients that support the JSON Resume standard instead:
Install the command-line tool:
npm install -g resume-cli
| Command | Description |
|---|---|
| init | Initialize a resume.json file. |
| validate | Schema validation test your resume.json. |
| export path/to/file.html | Export to .html. |
| serve | Serve resume at http://localhost:4000/. |
Show a list of options and commands for the CLI.
Creates a new resume.json file in your current working directory.
Complete the resume.json with your text editor. Be sure to follow the schema (available at https://jsonresume.org/schema/).
Validates your resume.json against our schema to ensure it complies with the standard. Tries to identify where any errors may be occurring.
Exports your resume in a stylized HTML or PDF format.
A list of available themes can be found here:
https://jsonresume.org/themes/
Please npm install the theme you wish to use before attempting to export it.
Options:
--format <file type>Example:--format pdf--theme <name>Example:--theme even
Starts a web server that serves your local resume.json. It will live reload when you make changes to your resume.json.
Options:
--port <port>--theme <name>
When developing themes, change into your theme directory and run resume serve --theme ., which tells it to run the local folder as the specified theme.
This is not intended for production use, it's a convenience for theme development or to visualize changes to your resume while editing it.
json: viaJSON.parse.yaml: viayaml-jsquaff: if--resumeis a directory, then the path is passed toquaffand the resulting json is used as the resume. quaff supports a variety of formats in the directory, including javascript modules.
- Setting
--resume -tells the CLI to read resume data from standard input (STDIN), and defaults--typetoapplication/json. - Setting
--resume <path>reads resume data frompath. - Leaving
--resumeunset defaults to reading fromresume.jsonon the current working directory.
Supported resume data MIME types are:
application/jsontext/yaml
Available under the MIT license.