Skip to main content

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

  1. Install GitPush using pip:

    To install GitPush, simply run the following command:

    pip install git-push-cli
    
  2. 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

  1. 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.

  1. 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.

  1. 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:

  1. Install GitPush: pip install git-push-cli==0.1.1

  2. Run GitPush CLI: gitpush

  3. Enter your Groq API key: gsk_**********************************

  4. Generate and let the agent execute Git command by entering a prompt: initialize git

  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_push_cli-0.1.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_push_cli-0.1.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file git_push_cli-0.1.2.tar.gz.

File metadata

  • Download URL: git_push_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for git_push_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1f91713d72d0549ed7d866c1043a695403ae1a119d6f28b5ebd01de4c9ae68d1
MD5 caf5310992c5de6a57a313b4c61c49ed
BLAKE2b-256 d149bc1915ee003a24caabaaf79dda19d451f53d72d7b2b78f7750dc1a06e3f7

See more details on using hashes here.

File details

Details for the file git_push_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: git_push_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for git_push_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 35216d41caa3fe064e594f7ba4498c8b0c962a80894b3b9a384bacf7e6fbba25
MD5 fe1d6d1d576844c8634ca3794cfd2cd6
BLAKE2b-256 bec33162ba65d6cdb52a9b5b7087e6583bd8facc7448148ffeef8a7d3d238be2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page