2023-10-20 17:32:13 +00:00
|
|
|
from rendercv.__main__ import render
|
2023-10-23 16:27:29 +00:00
|
|
|
from rendercv.data_model import generate_json_schema
|
|
|
|
import os
|
2023-09-09 15:25:28 +00:00
|
|
|
|
2023-11-17 15:27:10 +00:00
|
|
|
input_file_path = "John_Doe_CV.yaml"
|
2023-10-20 18:07:19 +00:00
|
|
|
render(input_file_path) # type: ignore
|
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
|
2023-10-27 19:10:16 +00:00
|
|
|
generate_json_schema(os.path.dirname(__file__))
|