A natural-language Git CLI.
Project description
GitPush CLI Tool
GitPush is a command-line tool that allows you to execute Git commands by providing natural language prompts. Using the Groq API, it generates and runs Git commands for you.
Features
- Convert natural language commands into Git commands
- Supports Git operations like
git init,git commit,git push, etc. - Easy to use: simply enter a prompt and the tool executes the corresponding Git command
Installation
-
Install GitPush using pip:
To install GitPush, simply run the following command:
pip install git-push-cli==0.1.0
-
Verify the installation:
After installing, verify that GitPush is installed correctly by running:
gitpush
This should open the GitPush CLI interface.
Setting up the Groq API Key
- Enter your Groq API key
The first time you run GitPush, it will ask you to enter your Groq API key. This key is required to generate Git commands from natural language prompts.
When prompted, enter your Groq API key and press Enter.
The key will be stored securely, so you only need to enter it once.
Using the GitPush CLI Tool
Once your Groq API key is set up, you can start using GitPush to generate and execute Git commands.
- Enter a natural language prompt
After setting your Groq API key, you can enter any Git-related prompt, and GitPush will generate and execute the corresponding Git command.
Example prompts:
- "Initialize a Git repository"
- "Commit my changes with the message 'Initial commit'"
- "Push my changes to the remote repository"
GitPush will generate the appropriate Git command and run it for you.
GitPush will generate and execute the corresponding Git command.
- Exit the tool:
To exit the GitPush CLI tool, simply type exit and press Enter.
Example Workflow
Here’s how a typical session would look:
-
Install GitPush:
pip install git-push-cli==0.1.0 -
Run GitPush CLI:
gitpush -
Enter your Groq API key:
gsk_********************************** -
Generate Git command by entering a prompt:
initialize git -
Exit the tool:
exit
Requirements
- Python 3.x or higher
- A Groq API key for generating Git commands
- Git installed on your machine
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file git_push_cli-0.1.1.tar.gz.
File metadata
- Download URL: git_push_cli-0.1.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b61c2afc8c3bd800e028d3c5cad515f9d8ea4625d1d99cdfb8690851e5c34a3d
|
|
| MD5 |
ac072c79c13300a4a04b2d6fdddc1cd5
|
|
| BLAKE2b-256 |
123afa6130363f542450670633cd86c64dd94054be0c28dcf16d75fa999eb66d
|
File details
Details for the file git_push_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: git_push_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b592e4de676721f44e9444fe8e15da3d59fa11fd41da87c8aeb0c6d5a56800d0
|
|
| MD5 |
6371b7c3023e4bb596bd4943b3b54bb8
|
|
| BLAKE2b-256 |
3a7303a6230175fa59c8e3d2a8f170e93233f34fa2a283a588c63666b685fd35
|