rash-cli
v1.0.5
Published
A cli tool that translates natural language into bash commands and warns you before you do something stupid.
Downloads
7
Readme
rash
A cli tool that translates natural language into bash commands. Rash uses OpenAI GPT-4o, bring your own API key.
usage
rash <natural language description of what you want to do>
https://github.com/murderteeth/rash/assets/89237203/e1e714f4-890f-4550-855f-39c27f017118
natural language command examples
stop all docker containers
kill the process running on port 3000
find files at path ./ containing the text 'xyz'
configure
Configure an environment variable called OPENAI_API_KEY
and set it to your openai api key. If you need a key, go to https://platform.openai.com/account/api-keys.
install
npm install -g rash-cli
uninstall
npm uninstall -g rash-cli
dev setup
cp .env.example .env
# configure .env
bun install
bun build
dev test
bun run console
or just
bun run index.ts