Bulk Mode
When the --input flag points to a directory, CVWonder automatically switches to bulk mode and processes every .yml / .yaml file found recursively. No extra flag is needed — directory input is the trigger.
Single file → cvwonder generate --input=cv.ymlBulk mode → cvwonder generate --input=./cvs/Flat directory
Section titled “Flat directory”The simplest case: all CV files in one directory.
cvs/ alice.yml bob.yml carol.ymlcvwonder generate --input=./cvs/ --output=generated/ --theme=defaultOutput:
generated/ alice.html bob.html carol.htmlNested directories
Section titled “Nested directories”When your input directory contains sub-directories, CVWonder mirrors the structure into the output directory.
cvs/ alice.yml engineering/ bob.yml carol.yml marketing/ dave.ymlcvwonder generate --input=./cvs/ --output=generated/ --theme=defaultOutput mirrors the tree exactly:
generated/ alice.html engineering/ bob.html carol.html marketing/ dave.htmlSub-directories are created automatically. Non-.yml/.yaml files are silently skipped.
Controlling concurrency
Section titled “Controlling concurrency”By default, CVWonder processes 4 files in parallel. Increase this for large batches:
# Use 8 workerscvwonder generate --input=./cvs/ --output=generated/ --concurrency=8
# Sequential (single worker) — useful for debuggingcvwonder generate --input=./cvs/ --output=generated/ --concurrency=1Validating before generating
Section titled “Validating before generating”Add --validate to check every CV file against the JSON schema before rendering. Files that fail validation are recorded as failures without blocking the rest.
cvwonder generate \ --input=./cvs/ \ --output=generated/ \ --theme=default \ --validateReading the bulk report
Section titled “Reading the bulk report”After processing, CVWonder prints a summary:
CV Wonder - Bulk Mode Input directory: ./cvs/ (5 files) Output directory: generated/ Theme: default Format: html Concurrency: 4
Total: 5 | Success: 4 | Failed: 1
[FAILED] cvs/engineering/broken.yml — yaml: line 12: mapping values not allowed- Total — number of YAML files found
- Success — files rendered without error
- Failed — files that encountered an error (parse, validation, or render)
Processing always continues past individual failures. A non-zero failure count does not affect the exit code; check the report to catch issues.
Combining with theme config overrides
Section titled “Combining with theme config overrides”--config overrides apply to every file in bulk mode. This is useful for generating an anonymized batch alongside a standard one:
# Standard batchcvwonder generate --input=./cvs/ --output=generated/standard/ --theme=default
# Anonymized batch — person names replaced for blind reviewcvwonder generate \ --input=./cvs/ \ --output=generated/anonymous/ \ --theme=default \ --config "person.anonymisation=true" \ --config "displayContactInfo=false"See Theme Customization for the full reference on --config.
CI/CD example (GitHub Actions)
Section titled “CI/CD example (GitHub Actions)”name: Generate CVs
on: push: paths: - 'cvs/**'
jobs: generate: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4
- name: Install CVWonder run: | curl -sSL -o cvwonder https://github.com/germainlefebvre4/cvwonder/releases/latest/download/cvwonder_linux_amd64 chmod +x cvwonder sudo mv cvwonder /usr/local/bin/
- name: Install theme run: cvwonder theme install https://github.com/germainlefebvre4/cvwonder-theme-default
- name: Generate all CVs run: | cvwonder generate \ --input=./cvs/ \ --output=generated/ \ --theme=default \ --concurrency=4 \ --validate
- name: Upload generated CVs uses: actions/upload-artifact@v4 with: name: generated-cvs path: generated/