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
-
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 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.1 -
Run GitPush CLI:
gitpush -
Enter your Groq API key:
gsk_********************************** -
Generate and let the agent execute 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
Metadata
Release files for git-push-cli 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| git_push_cli-0.1.2.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| git_push_cli-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 kB
Release files / git_push_cli-0.1.2.tar.gz
| Download URL | git_push_cli-0.1.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f91713d72d0549ed7d866c1043a695403ae1a119d6f28b5ebd01de4c9ae68d1
|
|
BLAKE2b-256 checksum How to use checksums |
d149bc1915ee003a24caabaaf79dda19d451f53d72d7b2b78f7750dc1a06e3f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / git_push_cli-0.1.2-py3-none-any.whl
| Download URL | git_push_cli-0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35216d41caa3fe064e594f7ba4498c8b0c962a80894b3b9a384bacf7e6fbba25
|
|
BLAKE2b-256 checksum How to use checksums |
bec33162ba65d6cdb52a9b5b7087e6583bd8facc7448148ffeef8a7d3d238be2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|