From 6857b2514ac26a0731208e6f7c312cd70b606544 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Thu, 5 Feb 2026 15:59:27 +0000 Subject: add our own cli validator --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README.md') 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 -- cgit v1.2.3