-
Notifications
You must be signed in to change notification settings - Fork 0
Rename CLI command from cli-code-agent to cli-code #29
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @ipv1337, 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!
Summary of Changes
This pull request renames the CLI command cli-code-agent to cli-code. This change involves updating the command name in the pyproject.toml file, as well as updating all references to the command in the documentation files (README.md and docs/install.md, docs/releases.md) and in the help text within the src/cli_code/main.py file.
Highlights
- CLI Command Rename: The primary change is renaming the CLI command from
cli-code-agenttocli-code. - Documentation Updates: All documentation files (README.md, docs/install.md, docs/releases.md) have been updated to reflect the new command name.
- Code Updates: The
pyproject.tomlfile and the help text insrc/cli_code/main.pyhave been updated to use the new command name.
Changelog
Click here to see the changelog
- README.md
- Updated examples to use
cli-codeinstead ofcli-code-agent(lines 55, 65, 68, 71).
- Updated examples to use
- docs/install.md
- Updated setup examples to use
cli-codeinstead ofcli-code-agent(lines 28, 39). - Updated usage examples to use
cli-codeinstead ofcli-code-agent(lines 50, 53, 56, 57, 64, 67, 75, 78). - Updated config file path to
~/.config/cli-code/config.yaml(line 92). - Updated verification command to use
cli-codeinstead ofcli-code-agent(line 124).
- Updated setup examples to use
- docs/releases.md
- Updated verification command to use
cli-codeinstead ofcli-code-agent(line 256).
- Updated verification command to use
- pyproject.toml
- Renamed the script from
cli-code-agenttocli-code(line 56).
- Renamed the script from
- src/cli_code/main.py
- Updated help text to use
cli-codeinstead ofcli-code-agent(lines 411, 412, 413, 414).
- Updated help text to use
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 in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| 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 issue 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 is currently in preview and 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 to provide feedback.
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.
A command's new name,
cli-coderises in fame,
Docs and code align,
A cleaner design,
For coding's delightful game.
Footnotes
-
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. ↩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
The pull request renames the CLI command from cli-code-agent to cli-code. The changes appear to be straightforward and consistently applied across the codebase. However, a thorough review is necessary to ensure no instances of the old command remain.
Merge Readiness
The pull request appears to be in good shape for merging, as the changes are relatively simple and consistently applied. However, it's crucial to double-check that all instances of the old command name have been replaced to avoid any confusion or errors. I am unable to approve this pull request, and recommend that others review and approve this code before merging.
Code Coverage Report📊 Current Coverage: 92.50% Detailed coverage analysis is available in SonarCloud Coverage Change DetailsThis shows code coverage for changes in this PR. To improve coverage, consider adding tests for new or modified code. |
Code Coverage Report📊 Current Coverage: 92.50% Detailed coverage analysis is available in SonarCloud Coverage Change DetailsThis shows code coverage for changes in this PR. To improve coverage, consider adding tests for new or modified code. |
|



Changes
This PR renames the CLI command from
cli-code-agenttocli-codewhile keeping the PyPI package name ascli-code-agentto maintain backward compatibility with existing installations.Modified files:
Notes:
.config/cli-code/so no change was needed thereTesting:
Screenshot
No visual changes, command line only.