7 stable releases
3.0.0 | Dec 23, 2023 |
---|---|
2.0.0 | Dec 23, 2023 |
1.1.3 | Jun 13, 2023 |
1.1.2 | Apr 8, 2023 |
1.1.1 | Mar 31, 2023 |
#14 in #amount
13KB
136 lines
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
Dependencies
~8–24MB
~317K SLoC