Skip to content

Commit d04318f

Browse files
committed
Use updated readme-cli-help functionality.
1 parent 63e3ecb commit d04318f

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

.config/readme-cli-help.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"files": {
3+
"./README.md": {
4+
"blocks": [
5+
{
6+
"fence": "text help",
7+
"command": ["bun", "run", "src/cli/main.ts", "--help"]
8+
}
9+
]
10+
}
11+
}
12+
}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ publish:
2020

2121
.PHONY: update-readme-cli-help
2222
update-readme-cli-help: setup
23-
bun x readme-cli-help "bun run src/cli/main.ts --help"
23+
bun x readme-cli-help update
2424

2525
.PHONY: check-readme-cli-help
2626
check-readme-cli-help: setup
27-
bun x readme-cli-help --check-only "bun run src/cli/main.ts --help"
27+
bun x readme-cli-help check
2828

2929
.PHONY: setup
3030
setup:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ bun x @cubing/deploy
2828

2929
## Help
3030

31-
````cli-help
31+
````text help
3232
Usage: npx @cubing/deploy (or: bun x @cubing/deploy)
3333
3434
Deploy to a shared host like Dreamhost with minimal configuration.

0 commit comments

Comments
 (0)