⚙️ Installation

Install the CLI with a single Go command:

go install github.com/Pradipbabar/gemini-cli@latest

🛠️ Commands

🚀 Quick Usage

  1. Run gemini-cli configure to store your key.
  2. Use gemini-cli chat to have interactive conversations.
  3. Use gemini-cli explain to process text files.

The access key is saved in GEMINI_AI_ACCESS_KEY for subsequent commands.

📚 Examples

Configure your key:

gemini-cli configure -k sk-1234567890abcdef

Chat and save response:

gemini-cli chat -p "Tell me a story" -s story.txt

Explain from file:

gemini-cli explain -f notes.txt -s explanation.txt