code-review-app
v1.0.0
Published
Welcome to the **Code Review CLI** project! This command-line tool allows you to perform code reviews using the GEMINI API to analyze and improve source code. The tool can review an entire file, generate suggestions for improvements, and apply changes if
Readme
Code Review CLI with GOOGLE GEMINI API
🚀 Project Overview
Welcome to the Code Review CLI project! This command-line tool allows you to perform code reviews using the GEMINI API to analyze and improve source code. The tool can review an entire file, generate suggestions for improvements, and apply changes if the user wishes.
Features:
- Automatic code analysis with GOOGLE GEMINI
- View improvement suggestions
- Option to apply changes to the file
- Flexible commands to choose which lines to analyze or review the entire file
🚀 Usage
Run the CLI tool using the following command:
codeReview --src "<file>" --lines "[<start_line>;<end_line>]" --lg "<EN/FR>" --nb <Number_review> --outlineCommand Options:
--src <file_path>→ Specify the file to review.--lines <range>→ Choose the specific lines to analyze (e.g.,[44;50]).--all→ Choose all lines to analyze.--outline→ Display source code to review.--lg <language>→ Set the language for suggestions (FR,EN, etc.).--nb <number>→ Define the number of improvement suggestions.--v→ output the version number.--help→ Display help for command.
Example:
codeReview --src "./tests/Test.js" --lines "[44;50]" --lg "FR" --nb 3📜 License
This project is licensed under the MIT License.
📸 Demo Video
Check out the demo video of how to use the tool:
Click the image above to watch the demo video.

