Skip to content

Improve CLI command descriptions and usability#413

Open
gmarav05 wants to merge 1 commit intomodelpack:mainfrom
gmarav05:docs/cli-usability-improvements
Open

Improve CLI command descriptions and usability#413
gmarav05 wants to merge 1 commit intomodelpack:mainfrom
gmarav05:docs/cli-usability-improvements

Conversation

@gmarav05
Copy link

@gmarav05 gmarav05 commented Feb 9, 2026

This PR improves modctl CLI usability by improving command descriptions, fixing grammar issues.

No functional behavior is changed.

Fixes #247

Before

image

After

Screenshot 2026-02-09 at 11 26 22 PM

@gemini-code-assist
Copy link

Summary of Changes

Hello @gmarav05, 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 focuses on enhancing the user experience of the modctl command-line interface by refining the descriptions of its various commands. The changes aim to provide clearer, more concise, and grammatically correct explanations for each command's function, thereby improving overall usability without altering any functional behavior of the tool.

Highlights

  • Improved CLI Command Descriptions: The Short descriptions for several modctl CLI commands have been updated for clarity, conciseness, and grammatical correctness.
  • Enhanced Usability: Specific commands like list, prune, tag, and upload now have more intuitive and informative descriptions, making the CLI easier to understand and use.
  • Grammar and Phrasing Corrections: Grammatical errors and awkward phrasing in command descriptions have been fixed across multiple files, including cmd/root.go and cmd/tag.go.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • cmd/list.go
    • Updated the Short description for the list command from "List will lists the current built model artifacts from local storage." to "List model artifacts currently stored locally." for improved conciseness.
  • cmd/prune.go
    • Modified the Short description for the prune command to "Prune removes unused manifests and blobs from local storage (destructive operation)." from "Prune can help to cleanup useless manifests and blobs in the local storage.", adding important context about its destructive nature.
  • cmd/root.go
    • Refined the Short description for the root command to "A command-line tool for managing artifacts bundled according to the ModelPack Specification." from "A command line tool for managing artifact bundled based on the ModelPack Specification", improving grammar and phrasing.
  • cmd/tag.go
    • Updated the Short description for the tag command to "Tag one model artifact as another without rebuilding." from "Tag can tag one model artifact to another one without rebuiding.", correcting a typo and making it more direct.
  • cmd/upload.go
    • Significantly shortened and clarified the Short description for the upload command to "Pre-upload a file to a remote repository to speed up later builds." from a lengthy and less clear explanation.
Activity
  • No human activity (comments, reviews, etc.) has been recorded on this pull request yet.
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

@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 improves the usability of the modctl CLI by refining command descriptions. The changes fix grammatical errors and typos, and make the help texts more concise and clear. Overall, these are great improvements. I have one minor suggestion to further improve consistency across the command descriptions.

var pruneCmd = &cobra.Command{
Use: "prune [flags]",
Short: "Prune can help to cleanup useless manifests and blobs in the local storage.",
Short: "Prune removes unused manifests and blobs from local storage (destructive operation).",

Choose a reason for hiding this comment

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

medium

For consistency with other command descriptions in this CLI (e.g., tag, upload), it's better to start with a verb in the imperative mood. This makes the descriptions more direct and uniform.

Suggested change
Short: "Prune removes unused manifests and blobs from local storage (destructive operation).",
Short: "Remove unused manifests and blobs from local storage (destructive operation).",

Signed-off-by: Aravind <gmarav005@gmail.com>
@gmarav05 gmarav05 force-pushed the docs/cli-usability-improvements branch from 13073f2 to 5467c9e Compare February 9, 2026 17:59
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.

CLI Usability Enhancements

1 participant