Skip to content

docs: regenerate CLI reference to fix cli-ref inconsistency#646

Merged
marc0olo merged 1 commit into
mainfrom
fix/cli-ref-root-key-docs
Jul 14, 2026
Merged

docs: regenerate CLI reference to fix cli-ref inconsistency#646
marc0olo merged 1 commit into
mainfrom
fix/cli-ref-root-key-docs

Conversation

@marc0olo

Copy link
Copy Markdown
Member

Problem

The cli-ref required check is failing on main because docs/reference/cli.md is out of sync with the CLI.

This is a merge artifact between two recently-landed PRs:

Neither PR regenerated the CLI reference against the combined state, so the new commands' --root-key entries still show the old help text. scripts/generate-cli-docs.sh in CI detects the diff and fails with "Check for uncommitted changes".

Fix

Regenerated docs/reference/cli.md via ./scripts/generate-cli-docs.sh. The only changes are the two --root-key help lines under token approve and token allowance.

🤖 Generated with Claude Code

The token approve/allowance commands (#637) carry a --root-key flag whose
help text was updated in #645. Both PRs landed without regenerating the CLI
reference against the combined state, leaving docs/reference/cli.md
inconsistent and failing the cli-ref check.

Regenerated via scripts/generate-cli-docs.sh.
Copilot AI review requested due to automatic review settings July 14, 2026 15:41
@marc0olo
marc0olo requested a review from a team as a code owner July 14, 2026 15:41

Copilot AI 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.

Pull request overview

Regenerates CLI documentation to synchronize ICRC-2 token command help with the current root-key options.

Changes:

  • Updates token approve and token allowance root-key help text.
  • Documents mainnet, fetch, and 266-character hexadecimal keys.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@marc0olo
marc0olo enabled auto-merge (squash) July 14, 2026 15:45
@marc0olo
marc0olo merged commit 295171c into main Jul 14, 2026
32 checks passed
@marc0olo
marc0olo deleted the fix/cli-ref-root-key-docs branch July 14, 2026 15:46
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