@jsoncv/cli
v0.2.2
Published
CLI for JSON CV
Downloads
4
Maintainers
Readme
JSON CV's CLI
Command Line Interface (CLI) for interacting with JSON CVs.
Installation
npm install -g @jsoncv/cli
Validation using CLI
Validating cv.json
jsoncv validate cv.json
# or
jsoncv validate https://example.com/cv.json
Exporting CV as HTML Document
To export your CV as a HTML document, you need to have a valid JSONCV template, as well as your CV in a valid JSONCV format.
You can store your CV on your computer, or access it from a URL.
# Loading locally hosted CV
jsoncv export cv.json
# Loading CV from URL
jsoncv export https://example.com/cv.json
By default, jsoncv
assumes your current working directory also contains a valid template.
However, a template can be loaded from a separate location on your computer, or you can install a template using npm.
# Specifying the location of the template
jsoncv export -t /path/to/template cv.json
# or using a template installed from npm
jsoncv export -t name_of_the_template_package cv.json
Serving CV as Web Server
You can serve your CV on a web service as well. Serving is mostly the same as exporting. You can swap the export
command with serve
.