Files
rendercv/docs/user_guide/cli.md
Sina Atalay 4331110c55 Upgrade to v2 (#271)
* prepare the base for typst

* rename theme folders

* rename themes

* rename themes

* update testdata with new theme names

* rename themes

* fix docs issues

* fundamentals

* fundamental renames

* generalize `create_a_latex_file`

* generalize render_a_pdf_from_latex

* make latex optional dependency, and add typst as dependency

* first tests with typst

* finish `markdown_to_typst`

* fix `markdown_to_latex`

* finish `markdown_to_typst`

* first steps towards Typst RenderCV themes

* first draft of classic theme

* start working on new design options

* work on new design options

* make default theme: "classic"

* start integrating design options with templates

* rename typst variables

* start working on connections integration

* polish connections

* polish design options and themes

* fix spelling mistakes and improve typst themes

* use ms instead of s in printer

* improve templates

* fix typos

* use ms instead of s in printer

* improve typst templates

* improve

* improve

* improve

* improve

* make PyMuPDF optional

* rename last_updated_date_style to last_updated_date_template

* revert changelog

* progress

* improve

* exclude gifs from sdist

* update tests

* improve templates

* improve templater

* data: update `sample_content.yaml`

* improve

* remove latex support

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove testdata

* remove latex

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rename `locale_catalog` to `locale`

* docs: update developer guide faq

* add new input, rendercv_settings.date

* add show_time_span_in

* create a new function, parse_validation_errors

* improve templates

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* improve

* update templates

* fix experience entry

* improve

* finish templates

* update tests

* update testdata

* remove time_machine

* update sample content

* improve

* add sb2nov theme

* update options

* update theme.options

* update theme.options

* update theme options

* create engineeringresumes templates

* add engineering resumes

* format

* update templates

* add new theme

* fix a typo in sample content

* update templating system

* update options

* add photo support

* update workflows

* improve templates

* improve parse_validation_errors

* create a new interface for web

* fix summary

* improve

* resolve typing issues

* update mkdocs.yaml

* update pyproject.toml

* update docs scripts

* update testdata

* update tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rename column template fields

* update

* update test data

* add moderncv

* fix problems

* moderncv

* create moderncv

* fix tests

* update

* update

* update templates

* update

* use optional dependencies

* fix

* improve

* aa

* a

* update

* update

* update

* update

* rename

* update

* update

* update

* improve

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* format

* update changelog

* update examples

* update entry figures

* update schema

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-07 01:30:40 +03:00

5.5 KiB

Command Line Interface (CLI)

This page lists the available commands and options of the RenderCV CLI.

rendercv command

  • #!bash --version or #!bash -v

    Shows the version of RenderCV.

    rendercv --version
    
  • #!bash --help or #!bash -h

    Shows the help message.

    rendercv --help
    

rendercv new command

  • #!bash --theme "THEME_NAME"

    Generates files for a specific built-in theme, instead of the default classic theme. Currently, the available themes are: {{available_themes}}.

    rendercv new "Full Name" --theme "THEME_NAME" 
    
  • #!bash --dont-create-theme-source-files or #!bash -notypst

    Prevents the creation of the theme source files. By default, the theme source files are created.

    rendercv new "Full Name" --dont-create-theme-source-files
    
  • #!bash --dont-create-markdown-source-files or #!bash -nomd

    Prevents the creation of the Markdown source files. By default, the Markdown source files are created.

    rendercv new "Full Name" --dont-create-markdown-source-files
    
  • #!bash --help or #!bash -h

    Shows the help message.

    rendercv new --help
    

rendercv render command

  • #!bash --watch or #!bash -w

    Watches the input YAML file for changes and automatically renders if there is any change.

    rendercv render "Full_Name_CV.yaml" --watch
    
  • #!bash --output-folder-name "OUTPUT_FOLDER_NAME" or #!bash -o "OUTPUT_FOLDER_NAME"

    Generates the output files in a folder with the given name. By default, the output folder name is rendercv_output. The output folder will be created in the current working directory.

    rendercv render "Full_Name_CV.yaml" --output-folder-name "OUTPUT_FOLDER_NAME"
    
  • #!bash --typst-path "PATH" or #!bash -typst "PATH"

    Copies the generated Typst source code from the output folder and pastes it to the specified path.

    rendercv render "Full_Name_CV.yaml" --typst-path "PATH"
    
  • #!bash --pdf-path "PATH" or #!bash -pdf "PATH"

    Copies the generated PDF file from the output folder and pastes it to the specified path.

    rendercv render "Full_Name_CV.yaml" --pdf-path "PATH"
    
  • #!bash --markdown-path "PATH" or #!bash -md "PATH"

    Copies the generated Markdown file from the output folder and pastes it to the specified path.

    rendercv render "Full_Name_CV.yaml" --markdown-path "PATH"
    
  • #!bash --html-path "PATH" or #!bash -html "PATH"

    Copies the generated HTML file from the output folder and pastes it to the specified path.

    rendercv render "Full_Name_CV.yaml" --html-path "PATH"
    
  • #!bash --png-path "PATH" or #!bash -png "PATH"

    Copies the generated PNG files from the output folder and pastes them to the specified path.

    rendercv render "Full_Name_CV.yaml" --png-path "PATH"
    
  • #!bash --dont-generate-markdown or #!bash -nomd

    Prevents the generation of the Markdown file.

    rendercv render "Full_Name_CV.yaml" --dont-generate-markdown
    
  • #!bash --dont-generate-html or #!bash -nohtml

    Prevents the generation of the HTML file.

    rendercv render "Full_Name_CV.yaml" --dont-generate-html
    
  • #!bash --dont-generate-png or #!bash -nopng

    Prevents the generation of the PNG files.

    rendercv render "Full_Name_CV.yaml" --dont-generate-png
    
  • #!bash --design design.yaml

    Uses the given design file for the design field of the input YAML file.

    rendercv render "Full_Name_CV.yaml" --design "design.yaml"
    
  • #!bash --locale-catalog locale.yaml

    Uses the given locale catalog file for the locale field of the input YAML file.

    rendercv render "Full_Name_CV.yaml" --locale-catalog "locale.yaml"
    
  • #!bash --rendercv-settings rendercv_settings.yaml

    Uses the given RenderCV settings file for the rendercv_settings field of the input YAML file.

    rendercv render "Full_Name_CV.yaml" --rendercv-settings "rendercv_settings.yaml"
    
  • #!bash --ANY.LOCATION.IN.THE.YAML.FILE "VALUE"

    Overrides the value of ANY.LOCATION.IN.THE.YAML.FILE with VALUE. This option can be used to avoid storing sensitive information in the YAML file. Sensitive information, like phone numbers, can be passed as a command-line argument with environment variables. This method is also beneficial for creating multiple CVs using the same YAML file by changing only a few values. Here are a few examples:

    rendercv render "Full_Name_CV.yaml" --cv.phone "+905555555555"
    
    rendercv render "Full_Name_CV.yaml" --cv.sections.education.1.institution "Your University"
    

    Multiple #!bash --ANY.LOCATION.IN.THE.YAML.FILE "VALUE" options can be used in the same command.

  • #!bash --help or #!bash -h

    Shows the help message.

    rendercv render --help
    

rendercv create-theme command

  • #!bash --based-on "THEME_NAME"

    Generates a custom theme based on the specified built-in theme, instead of the default classic theme. Currently, the available themes are: {{available_themes}}.

    rendercv create-theme "mycustomtheme" --based-on "THEME_NAME"
    
  • #!bash --help or #!bash -h

    Shows the help message.

    rendercv create-theme --help