Skip to content

Commit bfb9ace

Browse files
committed
docs: update README and CLI script for download-abi command
- Added usage instructions for the `download-abi` command in the README. - Updated the CLI documentation script to include the new `download-abi` command section for consistent help output.
1 parent f2f1ddd commit bfb9ace

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,17 @@ Options:
7070
output. (default: "/data/atk-genesis.json")
7171
-h, --help display help for command
7272
```
73+
74+
### download-abi
75+
76+
```text
77+
Usage: network-bootstrapper download-abi [options]
78+
79+
Download ABI ConfigMaps annotated with settlemint.com/artifact=abi into a local
80+
directory.
81+
82+
Options:
83+
--output-directory <path> Directory to write ABI JSON files. (default:
84+
"/data/abi")
85+
-h, --help display help for command
86+
```

scripts/docs-cli.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ append_section() {
2828
}
2929

3030
# The template already ends with the CLI usage heading; start sections immediately.
31+
# Keep command sections grouped here so README generation stays in sync with the CLI surface.
3132
append_section "Global Help" bun "${ENTRYPOINT}" --help
3233

3334
append_section "generate" bun "${ENTRYPOINT}" generate --help
3435

3536
append_section "compile-genesis" bun "${ENTRYPOINT}" compile-genesis --help
37+
38+
append_section "download-abi" bun "${ENTRYPOINT}" download-abi --help

0 commit comments

Comments
 (0)