Skip to main content

A command-line tool that generates terminal commands from natural language prompts.

Project description

TermHand

TermHand is a command-line tool that generates terminal commands from natural language prompts.

Installation

Install from PyPI:

pip install termhand

Usage

To use TermHand, first ensure you have set up your API key. Create a configuration file at ~/.config/termhand/termhand_config.ini with the following content:

[termhand]
api_key = your_api_key_here

You can get an API Key from the Google AI Studio

Then, use TermHand from the command line:

th "How do I create a new folder with the name test?"

Development

Clone the repository and install the dependencies:

git clone https://github.com/yourusername/termhand.git
cd termhand
pip install -e .

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

termhand-0.2.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

termhand-0.2.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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