rendercv/run_rendercv.py

16 lines
395 B
Python

import os
from rendercv.__main__ import render
from rendercv.data_model import generate_json_schema
input_file_path = "John_Doe_CV.yaml"
render(input_file_path)
# This script is equivalent to running the following command in the terminal:
# python -m rendercv personal.yaml
# or
# rendercv personal.yaml
# Generate schema.json
# generate_json_schema(os.path.join(os.path.dirname(__file__)))