feat(cli): add check mode which exits 2 if hooks/files are outdated

This commit is contained in:
technofab 2026-01-20 21:52:00 +01:00
parent 374e31d852
commit 5caa66ec8d
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ
2 changed files with 82 additions and 64 deletions

View file

@ -87,6 +87,7 @@ in {
assert_file_contains "${soonixBin}" "test.json"
assert_file_contains "${soonixBin}" "SKIP_GITIGNORE"
assert_file_contains "${soonixBin}" "CHECK_MODE"
'';
}
];