Commit Graph

66 Commits

Author SHA1 Message Date
Bauke 595b8c25c1
Add typos for source code spellchecking. 2024-01-24 18:23:20 +01:00
Bauke caa158ce9f
Add additional packages. 2024-01-24 18:18:03 +01:00
Bauke b98426a993
Fix successful typo. 2024-01-24 17:54:19 +01:00
Bauke d12895184b
Install tools in a local output directory. 2024-01-19 15:33:01 +01:00
Bauke 9a4299e5a1
Add cargo-edit and a shell hook to install Hooked. 2024-01-19 14:16:15 +01:00
Bauke 9e7dd2e3dd
Add Rust and the toolchain via an overlay. 2024-01-19 14:00:02 +01:00
Bauke e7df35a765
Add the --noise-level option and implementation. 2024-01-18 14:37:02 +01:00
Bauke a9ee3c20fe
Derive Clone and implement From<String> for automatic Clap parsing. 2024-01-18 14:32:14 +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 df397b2cda
Make noise_level optional for hooks. 2024-01-18 12:27:27 +01:00
Bauke 260bcb7ca5
Add a noise level configuration option. 2024-01-17 18:43:17 +01:00
Bauke ba6d4fb0d1
Add missing documentation. 2024-01-17 18:32:11 +01:00
Bauke d031374360
Enable workspace lints. 2024-01-17 18:25:57 +01:00
Bauke 762051116e
Add mdbook-linkcheck. 2024-01-17 18:19:54 +01:00
Bauke 15dcca32b0
Add Nix flake and direnv files. 2024-01-17 18:15:36 +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 6512eaac5a
Add resolver to remove the warning from cargo. 2024-01-17 18:06:48 +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 4a4974fa35
Add git_staged documentation. 2022-11-20 13:07:32 +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 da0e38e3bb
Add git_staged as a config option. 2022-11-20 12:20:59 +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 82cbc580dc
Use the generate CLI reference. 2022-11-06 18:46:28 +01:00
Bauke 5bb3a282c3
Generate the subcommands usage reference automatically. 2022-11-06 18:44:23 +01:00
Bauke a4d0431a32
Add the template option documentation. 2022-11-04 19:19:14 +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 aed22fad90
Add the .deb installation section. 2022-11-03 14:16:40 +01:00
Bauke 4069582282
Version 0.1.0! 2022-11-03 14:00:01 +01:00
Bauke 8fc2a1d059
Add the deploy task and mdBook. 2022-11-03 13:59:53 +01:00
Bauke 06899c42c7
Add an explicit --config to the default hook template. 2022-11-01 13:42:14 +01:00
Bauke 4dab507636
Add config file configuration. 2022-11-01 13:38:52 +01:00
Bauke b386e59c3e
Start using Hooked! 2022-11-01 12:27:55 +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 91a5cc4203
Update Cargo.lock and add book to gitignore. 2022-10-31 11:56:08 +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 3cf6385d2c
Add common mdBook tasks. 2022-10-30 20:59:33 +01:00