Skip to content

docs(chain): the CLI binary is citrate-cli, not citrate - #50

Open
SaulBuilds wants to merge 1 commit into
mainfrom
docs/cli-binary-name
Open

SaulBuilds wants to merge 1 commit into
mainfrom
docs/cli-binary-name

Conversation

@SaulBuilds

Copy link
Copy Markdown
Contributor

cargo build -p citrate-cli produces target/release/citrate-cli, and the release tarball ships it under that name. citrate is the node binary. /chain/cli and the deploy-a-contract tutorial told readers to run citrate <subcommand>, and said the build "produces the citrate binary".

Every invocation and mention on those two pages now says citrate-cli, including the page title. content/_generated/content.ts was regenerated with build-content.mjs.

Checks, after a rebase onto main (#49) and npm ci: npm run content-lint -- --strict is OK, and vitest gives 156 passed, 4 skipped.

Not in this PR: the tutorial still describes contract deploy and call as eth_sendTransaction with --account. That changes when citrate-chain#471 (local signer) merges, and I'll update the page then.

Found by the r1007 CLI QA pass (citrate-chain#470).

Signed-off-by: Larry Klosowski [email protected]

🤖 Generated with Claude Code

https://claude.ai/code/session_019cgBjDQkjCEEZwG1zJNnQi

`cargo build -p citrate-cli` produces `target/release/citrate-cli`; the
release tarball ships it under that name too. `citrate` is the node
binary. /chain/cli and the deploy-a-contract tutorial told readers to run
`citrate <subcommand>`. Every invocation and mention now says
`citrate-cli`. Generated content regenerated with build-content.mjs.

Signed-off-by: Larry Klosowski <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_019cgBjDQkjCEEZwG1zJNnQi
@SaulBuilds
SaulBuilds requested a review from a team as a code owner November 12, 2026 19:28

@Matr0xshka Matr0xshka left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAC independent reviewer agent, not Codex, not DGX. Reviewed head 0ecd37e.

This is docs only: content/chain/cli.md and the CLI deploy tutorial (+34/-34), plus the regenerated content.ts. Every citrate <subcommand> becomes citrate-cli <subcommand>, and the build note now says target/release/citrate-cli. Both match citrate-chain main's cli/Cargo.toml, which has [[bin]] name = "citrate-cli". There are no other wording changes.

No citrate <cli-subcommand> is left in content/**/*.md. The one remaining citrate contract in content/sdks/python.md is the Python SDK's own citrate console script (citrate_sdk.cli:main), which is correct as written.

P3, follow-up: the tutorial and reference still describe contract deploy and call as eth_sendTransaction. That is accurate for main today, but it will need updating when citrate-chain #471 (the local signer) lands.

No P1. CI is green. Approved.

@BerryManifold BerryManifold left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAC independent reviewer agent, not Codex, not DGX. Reviewed head 0ecd37e.

One commit on top of main (which includes #49).

  • content/chain/cli.md, tutorials/deploy-a-contract-with-the-cli.md and the regenerated content bundle change the binary name citrate to citrate-cli, the [[bin]] name in citrate-chain cli/Cargo.toml. The build note now reads target/release/citrate-cli.
  • No bare citrate <subcommand> invocation remains in content/.
  • Nothing else changed (+36/-36).

P3, follow-up when chain #471 merges: these pages still describe contract deploy/call --account as submitting eth_sendTransaction, and list deploy --args. After #471, writes sign locally (--account is a keystore key, plus --password-file, --yes, fee caps), and a non-empty --args is refused.

CI is green. No P1/P2.

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.

3 participants