Skip to content

Uses the OpenAI Codex API to provide the user with autocompleted bash commands

License

Notifications You must be signed in to change notification settings

osilkin98/autobash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autobash

Uses the OpenAI Codex API to provide the user with autocompleted bash commands

Usage

This version of autobash is currently reliant on the user having access to the OpenAI codex beta. Future plans include making requests to a server and having the data provided to you.

To use autobash, you'll need to obtain an OpenAI key and set it to the OPENAI_KEY environment variable.

Installation

To install autobash, clone the repository and install it using your Python's pip:

# clone 
git clone https://github.com/osilkin98/autobash
cd autobash

# install to python
pip install -e .

# export your API key to .bashrc
echo 'export OPENAI_API_KEY="your api key"' >> ~/.bashrc

Example usage

[osilkin]$ autoshell "print 'hello world' to your cli"
echo 'hello world'

About

Uses the OpenAI Codex API to provide the user with autocompleted bash commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages