Repository navigation
Description
Pages: 7 docs pages and the smart-contracts agent skill (list below)
What's wrong:
These commands exit with an error ("unexpected argument" or "unrecognized subcommand", exit code 2) on stellar-cli 28.1.0, the current release. Each was run with the 28.1.0 binary.
keys generate --global (the flag was removed in v26.0.0; it had done nothing since global config became the default in stellar-cli #2079):
-
docs/build/guides/transactions/upload-wasm-bytecode.mdx:346 -
docs/tools/quickstart/getting-started/deploy-smart-contract.mdx:13 -
.mintlify/skills/smart-contracts/SKILL.md:141,:477,:593,:603(agents copy these as is)
Other flags and subcommands the CLI no longer accepts:
-
docs/build/guides/conventions/cross-contract.mdx:32:contract bindings rust --network --contract-id --output-dir. The command only accepts--wasm(v28.1.0bindings/rust.rs). Cross-contract guide:stellar contract bindings rustcommand missing --network value #2580 fixed the--networkvalue, but the command doesn't take--networkat all. -
docs/build/guides/dapps/working-with-contract-specs.mdx:86:contract bindings json, removed in v26.0.0. -
docs/build/guides/tokens/stellar-asset-contract.mdx:34:contract id asset --source-account. -
docs/build/smart-contracts/example-contracts/auth.mdx:466:contract invoke --auth, removed in v23.0.0. -
docs/build/smart-contracts/example-contracts/errors.mdx:363:contract read --source-account. -
docs/learn/migrate/evm/solidity-and-rust-basics.mdx:609,:627:contract invoke --wasm. stellar contract invoke --wasm is invalid — affects ~6 example contract tutorials #2212 removed this from the example contract tutorials but not from this page.
Outcome we're after:
Every CLI command on these pages and in the skill runs with the current CLI. How to get there is up to whoever picks this up.
Reference: the CLI's own help for each command (stellar <command> --help on 28.x), or the CLI manual (v28.1.0).
How to check the fix:
- Each listed command runs on stellar-cli 28.x without an "unexpected argument" or "unrecognized subcommand" error.
- A search of
docs/and.mintlify/skills/forkeys generate --global,bindings json,invoke --wasmandinvoke --authfinds nothing. pnpm validatepasses.
How we found it: A scan of every stellar command in fenced code blocks in docs/ and .mintlify/skills/ on main (de38543), checked against stellar <command> --help from the 28.1.0 binary, then each hit run by hand. The scan doesn't cover inline code or commands built in scripts, so a few may remain.
Why it matters: These are tutorials and an agent skill people and coding agents copy as is. Earlier fixes went one flag at a time (#2211, #2212, #2580), and two of those left a page broken, so this lists every hit together.
Related: #2211, #2212, #2580 (earlier fixes for the same kind of problem), #2972 (initialization guide), #2882 and #2883 (automated checks that could catch this).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
stellar-doxie commentedon Nov 1, 2026
🤖 Automated message from the Stellar Triage Bot.
I saw this issue. Nobody has called me in yet, so I take no action on it.
How to reach me:
/triage, add thebot:takelabel, or assign @kaankacar, @ElliotFriend or @wmendes./triage stop.bot:hands-offlabel.oceans404 commentedon Nov 1, 2026
/triage
stellar-doxie commentedon Nov 1, 2026
🤖 Automated message from the Stellar Triage Bot.
Working this because @oceans404 added bot:take.
I am checking each listed command against CLI 28.1.0. I will report back with a PR or a question.
stellar-doxie commentedon Nov 1, 2026
🤖 Automated message from the Stellar Triage Bot.
Working this because @oceans404 added bot:take.
Opened #2990. It fixes 7 of the 8 items, and the
checksjob passed. Each item checked out against CLI 28.1.0.One item needs a maintainer decision. @kaankacar @ElliotFriend
Decision: how should
working-with-contract-specs.mdxhandle the removedstellar contract bindings json?The whole page explains that command's JSON shape (
"type": "function",inputs,value). Its parsing examples read that shape too. The current replacement,stellar contract info interface --output json, prints rawScSpecEntryJSON in a different shape. A one-line swap would break every example below it.Options:
contract info interface --output jsonand update all examples and parsers.<Warning>that the examples show the older format.contract info interfaceand the SDK spec tools.The issue stays open for this item, so #2990 says "Refs #2973".
kaankacar commentedon Nov 2, 2026
/triage
stellar-doxie commentedon Nov 2, 2026
🤖 Automated message from the Stellar Triage Bot.
Back on this because @kaankacar asked with /triage.
mainhas not changed since, and thechecksjob passes..mintlify/skills/smart-contracts/SKILL.md. The PR that merges second needsmainmerged in first.The decision on
working-with-contract-specs.mdxis still open. My comment above lists the three options. This issue stays open until that item is done.