Scan files (pre-commit)
keepmum scan path/to/file … # prints file:line:col TYPE rule [N chars]; never prints the value; exits 1 on findingsIt exits 1 when it finds something, so it can run as a pre-commit hook.
keepmum scan path/to/file … # prints file:line:col TYPE rule [N chars]; never prints the value; exits 1 on findingsIt exits 1 when it finds something, so it can run as a pre-commit hook.