Skip to content

CLI commands on 8 pages fail with the current CLI: removed flags and subcommands #2973

Open

Description

@oceans404

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:

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/ for keys generate --global, bindings json, invoke --wasm and invoke --auth finds nothing.
  • pnpm validate passes.

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).

Activity

  1. stellar-doxie commented on Nov 1, 2026

    @stellar-doxie
    Contributor

    🤖 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:

    • Anyone with write permission can call me in. Comment /triage, add the bot:take label, or assign @kaankacar, @ElliotFriend or @wmendes.
    • The issue author can send me away with /triage stop.
    • People with write permission can also add the bot:hands-off label.
  2. added
    bot:take
    on Nov 1, 2026
  3. oceans404 commented on Nov 1, 2026

    @oceans404
    ContributorAuthor

    /triage

  4. stellar-doxie commented on Nov 1, 2026

    @stellar-doxie
    Contributor

    🤖 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.

  5. stellar-doxie commented on Nov 1, 2026

    @stellar-doxie
    Contributor

    🤖 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 checks job 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.mdx handle the removed stellar 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 raw ScSpecEntry JSON in a different shape. A one-line swap would break every example below it.

    Options:

    1. Rewrite the page around contract info interface --output json and update all examples and parsers.
    2. Keep the page, swap the command, and add a <Warning> that the examples show the older format.
    3. Retire or shorten the page and point readers to contract info interface and the SDK spec tools.

    The issue stays open for this item, so #2990 says "Refs #2973".

  6. added
    bot:needs-decision
    on Nov 1, 2026
  7. kaankacar commented on Nov 2, 2026

    @kaankacar
    Contributor

    /triage

  8. stellar-doxie commented on Nov 2, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Back on this because @kaankacar asked with /triage.

    The decision on working-with-contract-specs.mdx is still open. My comment above lists the three options. This issue stays open until that item is done.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot:needs-decisionbot:take

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions