rendercv/run_rendercv.py

15 lines
303 B
Python
Raw Normal View History

2023-09-10 19:54:36 +00:00
"""
This module is a script to run the RenderCV and generate a CV as a PDF.
"""
2023-09-09 15:25:28 +00:00
import os
2023-10-09 17:57:23 +00:00
import rendercv.__main__ as rendercv
2023-09-09 15:25:28 +00:00
2023-09-12 17:41:56 +00:00
input_name = "personal"
2023-10-07 18:07:57 +00:00
workspace = os.path.dirname(__file__)
2023-10-08 17:02:25 +00:00
file_path = os.path.join(workspace, "tests", "inputs", f"{input_name}.yaml")
2023-09-10 19:54:36 +00:00
2023-10-09 17:57:23 +00:00
rendercv.main(args=[file_path])