Skip to content

docs(cli): add the missing command pages and flags - #562

Merged
designcode merged 1 commit into
mainfrom
docs/cli-reference-gaps
Oct 9, 2026
Merged

designcode merged 1 commit into
mainfrom
docs/cli-reference-gaps

Conversation

@designcode

@designcode designcode commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Brings the CLI reference in line with the current specs.yaml in tigrisdata/storage (as of feat(cli): show monthly usage and charges on main, plus the open purge PR). Diffed the full command tree and every flag against docs/cli/**; nothing documented turned out stale, but 13 commands had no page and 14 pages were missing flags.

New pages

  • tigris usage, tigris organizations delete, tigris buckets restore, tigris buckets purge, tigris buckets share, tigris buckets enable-snapshots, tigris buckets disable-snapshots, tigris snapshots delete, tigris init, and tigris telemetry with its status/disable/enable subpages.

Flags added to existing pages

  • access-keys create: --bucket --role --admin --env --export --for, with examples for each export mode
  • buckets list: --deleted --forks-of --forks-only --owner --limit --page-token
  • buckets set: --default-tier --soft-delete --retention-days --enable-additional-headers
  • buckets migrate: --max-in-flight-gb
  • --snapshot-version on ls, objects list, presign, objects restore, objects restore-info; --source on objects list
  • --cache-control on cp and objects put
  • --limit --page-token on ls, snapshots list, access-keys list, iam policies list

Navigation

  • Commands tables on buckets, organizations (new) and snapshots (new) list every subcommand; objects set carries a Deprecated admonition; sidebars.js has entries for all new pages.

Notes

  • buckets purge documents feat(storage): purge soft-deleted buckets storage#360, which is still open; usage and organizations delete landed on the CLI's main this week. Worth merging once those are in a published CLI release.
  • npm run lint passes and every link in the new/changed pages resolves. The full npm run build fails locally on /docs/cli/ because the CliShell component cannot resolve @xterm/xterm/css/xterm.css during static rendering — unrelated to this change (both bundles compile, so the MDX is valid).

🤖 Generated with Claude Code


Note

Low Risk
Changes are limited to MDX documentation and sidebar navigation; no application or CLI runtime code is modified.

Overview
Documentation-only update that aligns the CLI reference with the current command spec: it adds missing command pages, documents previously undocumented flags on existing pages, and wires everything into the docs sidebar.

New reference pages cover tigris init, usage, organizations delete, bucket soft-delete workflows (restore, purge), sharing, snapshot bucket toggles (enable-snapshots / disable-snapshots), snapshots delete, and the telemetry group (status, enable, disable). Parent pages for buckets, organizations, and snapshots now list their full subcommand sets.

Existing pages gain flag tables and examples for scoped access-key creation and credential export (--bucket, --role, --admin, --env, --export, --for), richer bucket list/set/migrate options, --cache-control on uploads/copies, --snapshot-version (and related listing/source flags) across ls/objects/presign/restore flows, and --limit / --page-token on several list commands. objects set is marked deprecated in favor of set-access and mv.

Navigation in sidebars.js adds entries for all new pages under the CLI section.

Reviewed by Cursor Bugbot for commit 7c0265c. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Assisted-by: Claude Fable 5.1 via Claude Code
@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
docs-redirect Building Building Preview Oct 8, 2026 3:04pm UTC
tigris-os-docs Ready Ready Preview Oct 8, 2026 3:04pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5 Tier: apex

[Low risk] Adds and updates CLI command documentation.

Add the required permanent-deletion warning callouts before merging; the other findings are documentation improvements.

Fix All in Claude CodeFindings

  1. P2 Delete warnings blend in ▶
  2. P2 Retention limits are missing ▶
  3. P2 Custom file syntax is missing ▶
  4. P2 CI opt-out options are missing ▶
  5. P2 Setup link misses its topic ▶

Summary

Adds 13 CLI command pages, fills flag gaps on 14 existing pages, and updates command tables and sidebar navigation.

  • The permanent-deletion warnings need the callouts required by the docs rules.
  • Flag descriptions omit retention limits, the optional credentials-file path, and telemetry environment controls.
  • The new setup page links to a guide that does not explain its setup changes.
  • designcode acknowledged that buckets purge is still open and that usage and organizations delete should wait for a published CLI release.
  • designcode also acknowledged the existing CliShell build failure resolving @xterm/xterm/css/xterm.css; it is not reported as a new defect.

Reviews (1) · Last reviewed commit: "docs(cli): add the missing command pages..." · Reviewed by Greptile

Comment on lines +15 to +19
This cannot be undone: a purged bucket can no longer be restored with
[`tigris buckets restore`](/docs/cli/buckets/restore). Only buckets that are
already soft-deleted can be purged — for a live bucket the command fails rather
than deleting it. List the candidates with
[`tigris buckets list --deleted`](/docs/cli/buckets/list).

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.

P2 Delete warnings blend in

The irreversible-delete warning is ordinary paragraph text. The repository requires important warnings in .mdx files to use callouts. Wrap this warning in :::warning so it stands out before the --yes examples. The permanent-deletion warning in snapshots/delete.mdx needs the same change. This requirement must be satisfied before merging.

Rule Used: Convert important information or warnings in documentation files (.mdx) into proper note callouts instead of inline text. (source)

Learned From
tigrisdata/tigris-os-docs#280

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Claude Code

Comment thread docs/cli/buckets/set.mdx
| `--enable-delete-protection` | No | — | Enable delete protection |
| `--default-tier` | No | — | Change the default storage tier for objects uploaded to the bucket. Options: `STANDARD`, `STANDARD_IA`, `GLACIER`, `GLACIER_IR` |
| `--soft-delete` | No | — | Enable or disable [soft delete](/docs/buckets/soft-delete) (recoverable deletes). Options: `enable`, `disable`. Enabling requires `--retention-days` |
| `--retention-days` | No | — | Number of days to retain soft-deleted objects (required when enabling `--soft-delete`) |

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.

P2 Retention limits are missing

The new --retention-days description omits its valid range. The linked soft-delete guide says it must be between 7 and 90, and values outside that range fail the request. Add those bounds to the flag row so readers can choose a valid value without leaving this reference.

Fix in Claude Code

| `--bucket`, `-b` | No | — | Bucket to grant access to (comma-separated for several). Each bucket is paired positionally with a `--role` value |
| `--role`, `-r` | No | — | Role to assign (comma-separated for several). Each role pairs with the corresponding `--bucket` value. See [`access-keys assign`](/docs/cli/access-keys/assign) for the roles |
| `--admin` | No | — | Grant admin access to all buckets in the organization |
| `--env` | No | — | Write the credentials to a dotenv file, merging into it when it already exists. Defaults to `./.env`. The secret is then not printed |

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.

P2 Custom file syntax is missing

The new --env row and examples only show the default-file form. The changelog documents --env [path]. Add that syntax and a custom-file example so readers know how to write credentials to a file such as .env.local.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Claude Code

Comment thread docs/cli/telemetry.mdx
Comment on lines +12 to +13
Telemetry is on by default. It is a per-machine setting: turning it off here
does not affect other machines you use the CLI on.

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.

P2 CI opt-out options are missing

The new telemetry pages only explain machine-setting commands. The changelog also documents TIGRIS_NO_TELEMETRY and DO_NOT_TRACK. Add those options here so readers configuring CI through environment variables can find the supported opt-out method.

Suggested change
Telemetry is on by default. It is a per-machine setting: turning it off here
does not affect other machines you use the CLI on.
Telemetry is on by default. It is a per-machine setting: turning it off here
does not affect other machines you use the CLI on.
:::note
The environment variables `TIGRIS_NO_TELEMETRY` and `DO_NOT_TRACK` can also
turn telemetry off. Both accept any truthy value.
:::

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Claude Code

Comment thread docs/cli/init.mdx
Comment on lines +38 to +39
See the [CLI quickstart for AI agents](/docs/ai-agents/tigris-cli-quickstart)
for what the setup configures.

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.

P2 Setup link misses its topic

The linked CLI quickstart does not explain what tigris init configures. It covers storage commands but never discusses tigris init, MCP setup, or skill installation. Link to a guide that covers those changes, or explain the configured files here.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Claude Code

@designcode
designcode merged commit 523b727 into main Oct 9, 2026
12 checks passed
@designcode
designcode deleted the docs/cli-reference-gaps branch October 9, 2026 07:11

This branch was successfully deployed

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

2 participants