mirror of https://github.com/eyhc1/rendercv.git
15 lines
407 B
Python
15 lines
407 B
Python
from rendercv.__main__ import render
|
|
from rendercv.data_model import generate_json_schema
|
|
import os
|
|
|
|
input_file_path = "John_Doe_CV.yaml"
|
|
render(input_file_path) # type: ignore
|
|
|
|
# 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__)))
|