run — Execute Checks Manually
# staged files only (default) $ sniffercommit run # all tracked files $ sniffercommit run --all-files # specific files $ sniffercommit run src/main.cpp include/foo.hpp # dry-run (list files without executing) $ sniffercommit run --dry-run --all-files # verbose (print each shell command) $ sniffercommit run --verbose --all-files
Exit code: 0 if all checks pass, non-zero if any check fails.