Skip to content

A small python implementation to use ChatGPT in command line

License

Notifications You must be signed in to change notification settings

LDenninger/BashGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BashGPT: ChatGPT for Command Line

A simple command line tool to run ChatGPT. Currently still work in progress.

Installation

Debian Package

Currently I provide one pre-built debian package:

dpkg -i build bashgpt-0.0.1.deb

From Source

source dev/env.sh
build_tool [version number]
dpkg -i builds/bashgpt-[version number].deb

Usage

The tool can simply be called via command-line:

Question Answering

gpt ask [question]

Import File Content

Import the content of the file into the prompt.

gpt ask [question] \\file{[file name]}

Include command output

Include the stdout and stderr of the command into the prompt.

gpt ask [question] \\execute{[command]}

Print Configuration

To see the available configuration parameters and their current value:

gpt config

Set Configuration

gpt set [key] [value]

License

BashGPT is licensed under BSD-3

Disclaimer

This project is still work in progress and there is plan to add more functionalities

About

A small python implementation to use ChatGPT in command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published