Commit Graph

18 Commits

Author SHA1 Message Date
Bauke e4ed623e64
Skip hook if no globs are matched. 2022-11-20 12:57:58 +01:00
Bauke 651699c40a
Add git_staged CLI functionality. 2022-11-20 12:39:08 +01:00
Bauke 4ba723d5cc
Make Clippy happy, use license symlinks. 2022-11-07 14:42:08 +01:00
Bauke 5bb3a282c3
Generate the subcommands usage reference automatically. 2022-11-06 18:44:23 +01:00
Bauke 8d1baaf57f
Add the general.template option. 2022-11-04 19:13:04 +01:00
Bauke 1a79f9e051
Refactor subcommands into their own functions. 2022-11-04 18:09:15 +01:00
Bauke 9c11ae3db6
Switch to dedicated structs for subcommand arguments. 2022-11-04 17:54:05 +01:00
Bauke 06899c42c7
Add an explicit --config to the default hook template. 2022-11-01 13:42:14 +01:00
Bauke ac1fb0163c
1 is singular, not 0. 🤦 2022-11-01 12:27:01 +01:00
Bauke d4f22fb0c5
Pluralize words correctly. 2022-10-31 22:05:47 +01:00
Bauke 4f28ced1b1
Rename hooked-library to hooked-config. 2022-10-31 15:35:10 +01:00
Bauke 0743a982d1
Add NO_COLOR support and CLI testing. 2022-10-31 15:20:59 +01:00
Bauke 16757cabce
Only check for the git hooks directory in (un)install subcommands. 2022-10-31 14:23:13 +01:00
Bauke c4c45a0368
Print stderr too and only output when warn/error conditions happen. 2022-10-31 11:45:36 +01:00
Bauke 7338b5667a
Add a little Hooked header. 2022-10-31 11:36:55 +01:00
Bauke 3f4c8f010f
Add the CLI run subcommand. 2022-10-30 21:14:12 +01:00
Bauke 54657adaf0
Add the uninstall subcommand. 2022-10-28 20:24:07 +02:00
Bauke 0d009834fe
Add basic CLI setup with install command. 2022-10-28 20:02:43 +02:00