Commit Graph

33 Commits

Author SHA1 Message Date
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
Bauke 599a4bcef2
Derive Eq and PartialEq for ExitAction. 2022-10-30 18:52:32 +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
Bauke d958780c25
Switch to Cargo workspace setup. 2022-10-28 15:44:43 +02:00
Bauke 09921bd6cb
Remove small. 2022-10-28 14:40:53 +02:00
Bauke 0835a08981
Use snake_case for renaming enums. 2022-10-28 14:37:42 +02:00
Bauke 10c871d5c9
Add default pre_commit. 2022-10-28 14:09:17 +02:00
Bauke 1084bd08e2
Add default to on_failure. 2022-10-28 14:08:27 +02:00
Bauke bff78ccc21
Add a with-hooks test. 2022-10-28 14:06:03 +02:00
Bauke c47d0a1e6e
Implement Default for ExitAction. 2022-10-28 14:03:32 +02:00
Bauke 3f0f643a8a
Add a test for serializing and update snapshots. 2022-10-28 14:03:01 +02:00
Bauke 7a543409ba
Add the PreCommit hook struct. 2022-10-28 13:58:36 +02:00
Bauke 1eecfa7146
Add the ExitAction enum. 2022-10-28 13:35:34 +02:00
Bauke 4d62527e23
Add the Task struct. 2022-10-28 13:13:53 +02:00
Bauke 3846a62591
Project setup commit. 2022-10-28 12:23:05 +02:00
Bauke f3f8992ce0
Initial commit! 🪝 2022-10-28 11:31:08 +02:00