rash-cli

1.0.5 • Public • Published

murderteeth_pixel_art_of_a_cute_cybernetic_virus_anime_aestheti_b8a3e1cf-6a71-4d7f-be09-92069c8d8bfa-removebg-preview

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

Readme

Keywords

Package Sidebar

Install

npm i rash-cli

Weekly Downloads

4

Version

1.0.5

License

CC0

Unpacked Size

56 kB

Total Files

10

Last publish

Collaborators

  • murderteeth