Validate
Description
This command allows you validate files.
It will not modify the source data in any way.
Available since v1.25.0.
Usage
Flags
| Tells dasel to output to include/exclude the error when a file fails validation.
Default to |
Example
Validate an entire directory
Validate a subset of files
Validate specific files
Pre-Commit
Add dasel
hooks to .pre-commit-config.yaml
file
for a native execution of dasel, or use:
dasel-validate-docker
pre-commit hook for executing dasel using the official Docker imagesdasel-validate-bin
pre-commit hook for executing dasel using the official binary
Last updated