GPT-powered bash commands.
Project description
gpt-do
This is a handy-dandy CLI for when you don't know wtf to do.
Instead of furiously grepping through man pages, simply use do
(or ddo
if on bash
/zsh
), and have GPT-3 do all the magic for you.
Demo
Click to play:
Installation
We recommend using pipx
:
$ pipx install gpt-do
$ which do
However you can also use pip
:
$ pip install gpt-do
$ which do
Usage
n.b. If you're on bash
or zsh
, do
is a reserved keyword, so you'll have to use the alias ddo
.
$ export OPENAI_API_KEY=xxx # stick this in your bash_profile
$ do amend the message of my last commit to "It works!"
This command will amend the message of the last commit to 'It works!'.
git commit --amend -m 'It works!'
Do you want to continue? [y/N]: y
[main 3e6a2f6] It works!!
Date: Thu Dec 22 01:15:40 2022 -0800
5 files changed, 1088 insertions(+)
create mode 100644 .gitignore
create mode 100644 .gitmodules
create mode 100644 README.md
create mode 100644 poetry.lock
create mode 100644 pyproject.toml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gpt_do-0.1.13.tar.gz
(18.7 kB
view hashes)
Built Distribution
gpt_do-0.1.13-py3-none-any.whl
(16.1 kB
view hashes)