Examples
Generate from a local Markdown file
MARKDOWN_FILE_URL="portfolio/cv.md" \
PDF_OUTPUT_LOCATION="build/cv.pdf" \
cv-generator
Capture configured sites
SCREENSHOT_SITES="https://example.com,https://www.python.org" \
SCREENSHOT_OUTPUT_DIR="./screenshots" \
website-screenshot
Capture a different site
SCREENSHOT_SITES="https://example.com" \
SCREENSHOT_OUTPUT_DIR="/tmp/screenshots" \
website-screenshot
Run without installing the commands
The file-path invocation stays supported for every example above:
MARKDOWN_FILE_URL="portfolio/cv.md" \
PDF_OUTPUT_LOCATION="build/cv.pdf" \
python3 scripts/cv_generator.py