feat: validate + vendor list/inspect with --json

- validate: offline hard rules (all+include, exclude-without-all, orphaned
  include entries vs pinned inventory) and lockfile/external-area divergence
- vendor list: name/url/ref/rev/mode/item counts, human + json
- vendor inspect: per-type inventory with frontmatter metadata and recorded
  warnings read from the external area, human + json
- exit code 1 on invalid state for headless drift checks
This commit is contained in:
2026-08-22 21:54:32 +02:00
parent 2c7200380b
commit 484a15797c
6 changed files with 654 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@ func NewRootCmd() *cobra.Command {
}
root.AddCommand(newVersionCmd())
root.AddCommand(newVendorCmd())
root.AddCommand(newValidateCmd())
return root
}