Commit Graph

28 Commits

Author SHA1 Message Date
Bauke e7df35a765
Add the --noise-level option and implementation. 2024-01-18 14:37:02 +01:00
Bauke 6b6c48c476
Update all the dependencies. 2024-01-18 14:21:43 +01:00
Bauke 0634e86b3d
Add a basic noise level implementation. 2024-01-18 13:52:15 +01:00
Bauke f0030fd57f
Add lazy_static. 2024-01-18 13:41:11 +01:00
Bauke d031374360
Enable workspace lints. 2024-01-17 18:25:57 +01:00
Bauke 3da03abe16
Move the lints to the Cargo workspace level and fix any issues. 2024-01-17 18:10:25 +01:00
Bauke 0d09e2e086
Factor creating a GlobSet from a Vec<String> out to a utility function. 2022-11-28 22:48:35 +01:00
Bauke 47b1b7ec51
Move utilities to a directory. 2022-11-28 22:43:26 +01:00
Bauke 5d26a72c8b
Rename git_staged to staged. 2022-11-27 17:29:44 +01:00
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 a8f587f43a
Add extra metadata to Cargo.toml files. 2022-11-07 14:27:09 +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