Skip to main content

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, and have GPT-3 do all the magic for you.

Demo

Click to play:

asciicast

Installation

We recommend using pipx:

$ pipx install gpt-do
$ which do

However you can also use pip:

$ pip install gpt-do
$ which do
## Usage

```console
$ 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


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.9.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpt_do-0.1.9-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file gpt_do-0.1.9.tar.gz.

File metadata

  • Download URL: gpt_do-0.1.9.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.9.9 Darwin/22.1.0

File hashes

Hashes for gpt_do-0.1.9.tar.gz
Algorithm Hash digest
SHA256 64569248a08465a529589b310cf2fa1589610de344b94f740e87726cd8a7de3d
MD5 b5dcb3896a79a1a4f39777087714c154
BLAKE2b-256 433bc8b899557b79561f2e239bff624fe5d3907f344dc36387ea10721916359d

See more details on using hashes here.

File details

Details for the file gpt_do-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: gpt_do-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.9.9 Darwin/22.1.0

File hashes

Hashes for gpt_do-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2e21df144adbf726e35c13870c79ae9783dca89a19cff0edbfe6fb2df7c73762
MD5 e246c62a6bc768b4247750bedde7df2d
BLAKE2b-256 cf10aba6ba81ab2b3817e89606000504a0630033a73368e6911bc9f45ae8a251

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page