Skip to content

docs: fix removed and renamed cli flags in agent docs - #559

Draft
claude[bot] wants to merge 1 commit into
mainfrom
claude/agent-docs-cli-flags
Draft

claude[bot] wants to merge 1 commit into
mainfrom
claude/agent-docs-cli-flags

Conversation

@claude

@claude claude Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Requested by Xe Iaso · Slack thread

Before: Three of the AI agent pages showed CLI commands that no longer work. The bucket configuration page used set-ttl and set-transition, which have been removed from the CLI, and its expiration example used a date that has already passed. The CORS and shadow bucket examples used flag names the CLI doesn't accept (--origin, --source-bucket and similar). The R2 comparison page passed --shadow-source-* flags to tigris mk, which has never had them. An agent copying any of these would get an error.

After: Every example uses commands and flags that exist in the current CLI. Expiration and tier transitions use tigris buckets lifecycle create (plus list and edit), with a future date. Shadow bucket setup uses tigris buckets set-migration with all five required flags. The R2 migration creates the bucket with tigris mk and then sets R2 as the source with set-migration. last_reviewed is set to 2026-10-07 on the three pages.

How: flags were checked against packages/cli/src/specs.yaml and the command implementations on tigrisdata/storage main. set-ttl (L1235) and set-transition (L1331) are replaced with lifecycle create/list/edit (L1335-L1440). set-migration now uses --bucket, --endpoint, --region, --access-key and --secret-key, which lib/buckets/set-migration.ts requires unless --disable is passed, plus the optional --write-through (L1263-L1303). This applies to bucket-configuration.md, migrate-from-any-s3-provider.md and tigris-vs-cloudflare-r2.md. set-cors now uses --origins, --methods and --headers with comma-separated values (L1500-L1535). tigris mk has no shadow flags (L446-L520).

🤖 Generated with Claude Code

https://claude.ai/code/session_015Qg5NUvpUUpqnqd6ow5Xdv


Generated by Claude Code

@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs-redirect Ready Ready Preview Oct 7, 2026 5:17pm UTC
tigris-os-docs Ready Ready Preview Oct 7, 2026 5:17pm UTC

Request Review

This branch was successfully deployed

2 active deployments
Preview – tigris-os-docs — ed6683d1 Deployed Oct 7, 2026 by vercel[bot]
Preview – docs-redirect — ed6683d1 Deployed Oct 7, 2026 by vercel[bot]
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.

1 participant