File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 7979vite
8080vitebook
8181vitejs
82+ vitepress
8283vue-demi
8384vueus
8485xleft
Original file line number Diff line number Diff line change @@ -59,16 +59,20 @@ Or add to your `package.json`:
5959
6060``` bash
6161# Install hooks from config
62- bun-git-hooks
62+ git-hooks
63+
64+ # alternatively, trigger the CLI with bunx
65+ bunx git-hooks
66+ bunx bun-git-hooks
6367
6468# Use specific config file
65- bun- git-hooks ./custom-config.ts
69+ git-hooks ./custom-config.ts
6670
6771# Remove all hooks
68- bun- git-hooks uninstall
72+ git-hooks uninstall
6973
7074# Enable verbose logging
71- bun- git-hooks --verbose
75+ git-hooks --verbose
7276```
7377
7478### Environment Variables
@@ -80,7 +84,7 @@ Skip hook installation when needed:
8084SKIP_INSTALL_GIT_HOOKS=1 bun install
8185
8286# Set custom environment for hooks
83- BUN_GIT_HOOKS_RC=/path/to/env bun- git-hooks
87+ BUN_GIT_HOOKS_RC=/path/to/env git-hooks
8488```
8589
8690### Advanced Configuration
You can’t perform that action at this time.
0 commit comments