diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-02-05 15:59:27 +0000 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-02-05 15:59:38 +0000 |
| commit | 6857b2514ac26a0731208e6f7c312cd70b606544 (patch) | |
| tree | dc740be256d99831b61074f850fdb356359eb1c7 /README.md | |
| parent | c58326c3d8ff3fb766b83e6919a5b8d4731cbcbd (diff) | |
| download | gitinfo-6857b2514ac26a0731208e6f7c312cd70b606544.tar gitinfo-6857b2514ac26a0731208e6f7c312cd70b606544.tar.gz gitinfo-6857b2514ac26a0731208e6f7c312cd70b606544.tar.bz2 gitinfo-6857b2514ac26a0731208e6f7c312cd70b606544.tar.xz gitinfo-6857b2514ac26a0731208e6f7c312cd70b606544.zip | |
add our own cli validator
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -31,6 +31,18 @@ https://forgejo.zue.dev/zuedev/gitinfo/raw/branch/main/gitinfo.schema.json You can reference the schema in your `.gitinfo` file using the `$schema` property for editor autocompletion and validation support. +#### CLI Validator + +A command-line validator is included: + +```bash +# Validate .gitinfo in current directory +node validate.js + +# Validate a specific file +node validate.js path/to/.gitinfo +``` + ### Example `.gitinfo` File ```jsonc |
