gai

command module
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 14 Imported by: 0

README

gai

⚡ The fastest AI command generator for CLI

Release

Installation

Using go install

go install github.com/tnfssc/gai@latest

Or download the binary directly from Releases

Setup

Automatic

Follow gai's instructions when you use it for the first time

Manual

Get your key from groqcloud

Add it in your ~/.bashrc file as follows

export GROQ_API_KEY=your-api-key

Usage

./gai list all files that contain the word "hello"
# or
gai list all files that contain the word "hello" # if installed globally
# the command is already copied to your clipboard, Ctrl+Shift+V away immediately

Use standard input

cat /etc/hosts | gai block youtube.com

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL