1.2.1 • Published 11 months ago

bashgpt-cli v1.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

BashGPT

BashGPT is a Node.js CLI tool that uses OpenAI's ChatGPT API to generate BASH command suggestions and explanations for a given task.

Prerequisites

  • Node.js (v14 or higher)
  • An OpenAI account and API key

Installation

  1. Install the BashGPT package globally using npm:
npm install -g bashgpt-cli

Configuration

You can set the OPENAI_API_KEY environmental variable in your shell, for example, at the end of your .bashrc file.

export OPENAI_API_KEY=your_api_key_here

If OPENAI_API_KEY is not set for your environment, you will be prompted to provide it.

Usage

Run the bashgpt command followed by your query without quotes:

bashgpt list all files in the current directory
1.2.1

11 months ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago