Skip to content

docs: Update the pyiceberg --help output in the CLI docs - #4624

Open
kevinWangSheng wants to merge 1 commit into
apache:mainfrom
kevinWangSheng:docs-cli-help-output
Open

kevinWangSheng wants to merge 1 commit into
apache:mainfrom
kevinWangSheng:docs-cli-help-output

Conversation

@kevinWangSheng

Copy link
Copy Markdown

Rationale for this change

The pyiceberg --help output at the top of mkdocs/docs/cli.md is missing the --version and --log-level options that are defined on the command group in pyiceberg/cli/console.py, and the version command, deprecated in favor of --version in #3206, has a new description. This replaces the block with the current output.

Are these changes tested?

Docs only. The new block is the output of pyiceberg --help after installing main (9abf5b1) in a clean python:3.12-slim container, pasted verbatim. mkdocs build --strict passes, and the markdownlint and codespell hooks pass on the changed file. The other example outputs in cli.md (describe, properties, drop, views) were not re-run, since they need a populated catalog.

Are there any user-facing changes?

Docs only.

AI usage: this change, the check above and this description were prepared by an AI agent (Claude Code, claude-opus-5-5).

The help output was missing the --version and --log-level options.

Generated-by: Claude Code (claude-opus-5-5)

@Fokko Fokko 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.

Nice cleanup @kevinWangSheng, verified that the block matches the actual pyiceberg --help output on main. Thanks! 🚀

This branch has not been deployed

No deployments
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