tiny_chatgpt_cli

Crates.iotiny_chatgpt_cli
lib.rstiny_chatgpt_cli
version3.0.0
sourcesrc
created_at2023-03-22 17:10:14.68574
updated_at2023-12-23 12:41:09.736075
descriptionA small tool to access ChatGPT from the command line
homepage
repository
max_upload_size
id817321
size43,035
(megahomyak)

documentation

README

Installation

cargo install tiny_chatgpt_cli

Usage examples

Regular usage

~/i/tiny_chatgpt_cli $ chatgpt
(i) Enter an empty line to stop
>>> hello
Hello! How can I assist you today?
>>> evaluate 34 + 67
34 + 67 = 101
>>>
Used tokens amount: 59

Command mode

~/i/tiny_chatgpt_cli $ chatgpt cmd
Input the description of a command: get amount of lines in main.rs

> wc -l main.rs

To apply the command, input nothing. To not apply it, input something.

wc -l main.rs
136 main.rs
Commit count: 0

cargo fmt