Skip to content

Commit 644f2e2

Browse files
committed
chore: wip
chore: wip
1 parent 4bcefd9 commit 644f2e2

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.vscode/dictionary.txt

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ upath
7979
vite
8080
vitebook
8181
vitejs
82+
vitepress
8283
vue-demi
8384
vueus
8485
xleft

README.md

+9-5
Original file line numberDiff line numberDiff 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:
8084
SKIP_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

0 commit comments

Comments
 (0)