Skip to content

docs: remove obsolete file doc/cli-commands.md#2669

Merged
parthea merged 1 commit intomainfrom
remove-doc/cli-commands.md
Oct 27, 2025
Merged

docs: remove obsolete file doc/cli-commands.md#2669
parthea merged 1 commit intomainfrom
remove-doc/cli-commands.md

Conversation

@parthea
Copy link
Copy Markdown
Contributor

@parthea parthea commented Oct 24, 2025

As per #2647 (comment), we now have a system that keeps cli docs up-to-date as we change them. We dynamically create docs based on helptext: https://pkg.go.dev/github.com/googleapis/librarian/cmd/librarian.

This PR removes the obsolete file doc/cli-commands.md

@parthea parthea requested a review from a team as a code owner October 24, 2025 12:42
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @parthea, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request streamlines the project's documentation by eliminating an outdated manual CLI commands file. The change reflects an upgrade in the documentation process, moving from static, manually maintained files to a dynamic generation system that automatically creates and updates CLI documentation based on the application's help text. This improves accuracy and reduces maintenance overhead.

Highlights

  • Documentation Cleanup: The obsolete file doc/cli-commands.md has been removed. This file previously contained manual documentation for CLI commands.
  • Automated Documentation System: This removal is possible because a new system is in place that dynamically generates and maintains CLI documentation directly from the helptext, ensuring up-to-date information without manual intervention.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request aims to remove the obsolete doc/cli-commands.md file, which is a good cleanup in principle. However, I've found a significant issue in the test for the new automatic documentation generation system that is intended to replace it. The test appears to be verifying the wrong file, which undermines the reliability of the new system. I've added a detailed comment on the removed file. I recommend fixing the test before merging this change to ensure the CLI documentation remains accurate and up-to-date.

@parthea parthea marked this pull request as draft October 24, 2025 12:45
@parthea parthea marked this pull request as draft October 24, 2025 12:45
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.93%. Comparing base (e607ea6) to head (1f7fed0).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2669   +/-   ##
=======================================
  Coverage   86.93%   86.93%           
=======================================
  Files         108      108           
  Lines        9194     9194           
=======================================
  Hits         7993     7993           
  Misses        861      861           
  Partials      340      340           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@parthea parthea marked this pull request as ready for review October 27, 2025 14:49
@parthea parthea merged commit 1179829 into main Oct 27, 2025
10 checks passed
@parthea parthea deleted the remove-doc/cli-commands.md branch October 27, 2025 14:54
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