2023-10-19 18:02:14 +00:00
|
|
|
import os
|
2023-10-20 17:32:13 +00:00
|
|
|
from rendercv.__main__ import render
|
2023-10-19 18:02:14 +00:00
|
|
|
from rendercv.data_model import generate_json_schema
|
2023-09-09 15:25:28 +00:00
|
|
|
|
2023-10-19 18:53:49 +00:00
|
|
|
input_file_path = "John_Doe_CV.yaml"
|
2023-10-20 17:32:13 +00:00
|
|
|
render(input_file_path)
|
2023-09-10 19:54:36 +00:00
|
|
|
|
2023-10-18 18:00:41 +00:00
|
|
|
# This script is equivalent to running the following command in the terminal:
|
|
|
|
# python -m rendercv personal.yaml
|
|
|
|
# or
|
2023-10-18 19:08:52 +00:00
|
|
|
# rendercv personal.yaml
|
|
|
|
|
2023-10-19 18:02:14 +00:00
|
|
|
# Generate schema.json
|
|
|
|
# generate_json_schema(os.path.join(os.path.dirname(__file__)))
|
2023-10-18 19:08:52 +00:00
|
|
|
|