aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-02-05 15:59:27 +0000
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-02-05 15:59:38 +0000
commit6857b2514ac26a0731208e6f7c312cd70b606544 (patch)
treedc740be256d99831b61074f850fdb356359eb1c7 /README.md
parentc58326c3d8ff3fb766b83e6919a5b8d4731cbcbd (diff)
downloadgitinfo-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.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index c36e353..aa7269e 100644
--- a/README.md
+++ b/README.md
@@ -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