Skip to content

docs(cli): add comprehensive CLI README documentation and usage guide - #844

Open
onajidavid87-web wants to merge 1 commit into
BCPathway:mainfrom
onajidavid87-web:Write-CLI-README.md
Open

docs(cli): add comprehensive CLI README documentation and usage guide#844
onajidavid87-web wants to merge 1 commit into
BCPathway:mainfrom
onajidavid87-web:Write-CLI-README.md

Conversation

@onajidavid87-web

Copy link
Copy Markdown
Contributor

Closes #710

What does this PR do?

Added cli/README.md to document all available commands, deployment configurations, environment variables, and workflow examples for the @bc-forge/cli Deployment Orchestrator.

Environment & Config Setup: Documented environment variables (RPC_URL, NETWORK_PASSPHRASE, CONTRACT_ID, SECRET_KEY, STELLAR_CLI_BIN) and .bc-forge.json manifest structure. Command

Reference:
check-status: Pings configured Soroban contract instances to report reachability, latency, and status (responsive, not_deployed, unreachable, invalid). upgrade: Submits WASM code upgrades and multi-sig proposals on-chain, including --dry-run simulation flags. verify-hash: SHA-256 diffing between local WASM artifacts and on-chain contract code (contractExecutableWasm). smoke-test: Executes automated end-to-end sanity tests (balance → mint → transfer). generate-bindings: Generates client SDK bindings via Stellar CLI (typescript, rust, python, java, flutter, swift, php).

Workflow Examples: Included clear step-by-step code and CLI invocation guides for: Contract Deployment & Status Verification
Contract WASM Upgrades (Dry-Run & Live Execution)
On-Chain WASM Integrity Verification & Smoke Testing

Verification:
Ran TypeScript compilation (npm --prefix cli run build): Passed cleanly (tsc -b). Ran CLI unit test suite (npm --prefix cli test): All 72 tests across 6 test files passed successfully.

Type of change

  • Bug fix
  • Feature
  • Refactor
  • Docs
  • CI
  • Chore

Checklist

  • I ran pre-commit run --all-files locally and it passed
  • All CI jobs pass on this branch
  • I added or updated tests for new behaviour
  • I updated relevant docs / comments
  • No secrets or credentials are included
  • No breaking changes to public APIs (or I've documented them)

Breaking changes?

No

Related issues

Closes #710

Added

cli/README.md
 to document all available commands, deployment configurations, environment variables, and workflow examples for the @bc-forge/cli Deployment Orchestrator.

🛠️ Key Details & Additions
Environment & Config Setup: Documented environment variables (RPC_URL, NETWORK_PASSPHRASE, CONTRACT_ID, SECRET_KEY, STELLAR_CLI_BIN) and .bc-forge.json manifest structure.
Command Reference:
check-status: Pings configured Soroban contract instances to report reachability, latency, and status (responsive, not_deployed, unreachable, invalid).
upgrade: Submits WASM code upgrades and multi-sig proposals on-chain, including --dry-run simulation flags.
verify-hash: SHA-256 diffing between local WASM artifacts and on-chain contract code (contractExecutableWasm).
smoke-test: Executes automated end-to-end sanity tests (balance → mint → transfer).
generate-bindings: Generates client SDK bindings via Stellar CLI (typescript, rust, python, java, flutter, swift, php).
Workflow Examples: Included clear step-by-step code and CLI invocation guides for:
Contract Deployment & Status Verification
Contract WASM Upgrades (Dry-Run & Live Execution)
On-Chain WASM Integrity Verification & Smoke Testing
✅ Verification
Ran TypeScript compilation (npm --prefix cli run build): Passed cleanly (tsc -b).
Ran CLI unit test suite (npm --prefix cli test): All 72 tests across 6 test files passed successfully.

Closes BCPathway#710
@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@onajidavid87-web Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Write CLI README.md

1 participant