2023-03-11 20:22:34 +07:00
2023-03-11 20:22:34 +07:00
2023-03-11 20:22:34 +07:00
2023-03-11 20:22:34 +07:00
2023-03-11 20:22:34 +07:00
2023-03-11 20:22:34 +07:00
2023-03-11 20:22:34 +07:00

Linux Command GPT (lcg)

Get Linux commands in natural language with the power of ChatGPT.

Installation

Build from source

> git clone --depth 1 https://github.com/asrul10/linux-command-gpt.git ~/.linux-command-gpt
> cd linux-command-gpt
> go build -o lcg
# Add to your environment $PATH
> ln -s  ~/.local/bin/fd

Example Usage

> lcg I want to extract file linux-command-gpt.tar.gz
Completed in 0.92 seconds
┌────────────────────────────────────┐
│ tar -xvzf linux-command-gpt.tar.gz │
└────────────────────────────────────┘
Are you sure you want to execute the command? (Y/n):

Options

> gpt3 [options]

--help         output usage information
--version      output the version number
--update-key   update the API key
--delete-key   delete the API key
Description
No description provided
Readme MIT 4.4 MiB
Languages
Go 83.2%
Shell 11.7%
Python 2.1%
Dockerfile 1.6%
Makefile 1.4%