Skip to content

alramalho/watcmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❓💻 watcmd

A simple CLI tool to get UNIX commands from text explanations using AI

image

Installation

You can install watcmd directly from PyPI:

pip install watcmd

Setup

After installation, you need to configure your OpenAI API key. You can do this by running:

watcmd setup YOUR_API_KEY

Replace YOUR_API_KEY with your actual OpenAI API key. This will save your API key securely in a configuration file, so you don't need to set it as an environment variable each time.

Usage

Once you've set up your API key, you can use the tool like this:

watcmd your command description

For example:

watcmd to list all files in a directory
> ls -al

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

Alex Ramalho (@alramalho)

About

An AI helper for CLI unix commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages