verus-cli
Version:
π¦ AI-powered CLI tool that generates clear, formatted Git commit messages from your change summaries.
89 lines (57 loc) β’ 3.06 kB
Markdown
<p align="center">
<a href="https://github.com/euandresimoes/verus">
<img src="https://img.shields.io/badge/π-REPO-FFE162?style=for-the-badge&labelColor=000000"/>
</a>
<a href="https://www.npmjs.com/package/verus-cli">
<img src="https://img.shields.io/npm/v/verus-cli?label=%F0%9F%93%A6+NPM&labelColor=black&color=%233F0071&style=for-the-badge"/>
</a>
<img src="https://img.shields.io/github/stars/euandresimoes/verus?style=for-the-badge&label=%E2%AD%90%20STARS&labelColor=black&color=%23FB2576"/>
<img src="https://img.shields.io/github/repo-size/euandresimoes/verus?style=for-the-badge&label=%F0%9F%9B%A0%EF%B8%8F%20SIZE&labelColor=black&color=%23332FD0"/>
</p>

# π¦ Verus CLI - The AI-Powered Commit Assistant
[πΊπΈ EN](https://github.com/euandresimoes/verus/blob/master/README.md) | [πͺπΈ ES](https://github.com/euandresimoes/verus/blob/master/README.es.md) | [π§π· PT-BR](https://github.com/euandresimoes/verus/blob/master/README.pt-br.md)
**Verus** is a command-line tool (CLI) that integrates AI to automatically generate commit messages for your Git repositories. From a brief description of the changes made to the files, Verus uses OpenAI's API to suggest a formatted commit message, such as:
`β¨ feat(auth/signup): implemented email verification`
## π Requirements
To use **Verus**, you need an **OpenAI API Key** with at least **$0.50 of credit**.
## π» Installation
To install **Verus CLI** globally, run the following command in your terminal:
```bash
npm install -g verus-cli
```
## π How to Use
1. **Add Your API Key**
To configure your **OpenAI API Key**, use the following command:
```bash
verus -k <apikey>
```
Replace `<apikey>` with your personal OpenAI API key.
2. **Start Verus CLI**
To run Verus, simply type the following command:
```bash
verus
```
## βΆοΈ Usage Flow
1. **File Selection:** Verus will list the modified files, and you will select which ones you want to include in the commit.
2. **Describe Your Changes:** After selecting the files, you will provide a brief summary of the changes made.
3. **Commit Message Generation:** OpenAI's AI processes the summary and suggests a formatted commit message, such as:
```bash
π§ͺ test(utils/date): added unit tests for formatDate function
```
5. **Commit Ready:** Once confirmed, Verus automatically creates the commit with the generated message.
## π License
This project is licensed under the MIT License.
Feel free to use, modify, and distribute it as you wish β just give proper credit. π€
See the full license in the [LICENSE](./LICENSE) file.
## π€ Contributions
Feel free to open a pull request or report any issues if youβd like to contribute to the development of Verus. π