Skip to content

gald3r lint

All CLI commands

Catch problems the moment they happen: syntax errors right after a file is written, missing component tags, or a shell command that looks dangerous before it runs.

gald3r lint [flags]

gald3r lint post-write

Post-write syntax lint for one file (/ g-go-code delta-lint step; absorbs the loose gald3r_post_write_lint.py script). Exit 0 ok/skipped, 1 file not found, 2 syntax error.

gald3r lint post-write PATH [flags]

Command flags include --json, --project-root.

gald3r lint tag-check

g-rl-38 subsystem-tagging scan of staged .gald3r_sys/ components (absorb of g-hk-component-tag-check.py's inline git+regex scan). Exit 0 pass/skip (not a git repo, or --warn-only), 1 fail (untagged component staged).

gald3r lint tag-check [flags]

Command flags include --json, --root, --warn-only.

gald3r lint validate-shell

Dangerous destructive shell command guard (absorb of g-hk-validate-shell.py's inline blocklist scan). Always prints the hook-contract JSON body ({"permission": "allow"|"deny", ...}). Exit 0 allow, 2 deny.

gald3r lint validate-shell [flags]

Command flags include --command, --command-file.