Validate
info
Available since v0.5.0
Validation is a crucial step in ensuring the integrity and correctness of your CV data. CVWonder provides built-in validation features to help you catch errors and inconsistencies before generating your CV.
Getting Started
Basic Validation
Validate a CV file and see all errors and warnings:
cvwonder validate -i cv.yml
Validate Before Generating
Ensure your CV is valid before generating output:
cvwonder generate -i cv.yml --validate -o output/
This will:
- Validate the YAML file
- Display any errors or warnings
- Exit if validation fails
- Generate the CV if validation passes
CI/CD Integration
Use validation in your CI/CD pipeline. Run basically the same command in your pipeline while the return code will indicate success or failure:
cvwonder validate -i cv.yml