term_ask 1.0.4
term_ask: ^1.0.4 copied to clipboard
A simple gemini client for the terminal
term_ask #
A command-line tool that uses the Gemini API to answer your questions.
Getting Started #
-
Install Dart: Make sure you have the Dart SDK installed. You can download it from https://dart.cn/get-dart.
-
Get an API Key: You'll need an API key from Google AI Studio. You can get one at https://makersuite.google.com/app/apikey. Set the
GEMINI_API_KEYenvironment variable with your API key.export GEMINI_API_KEY="YOUR_API_KEY" -
Install the package:
dart pub global activate term_ask
Usage #
Just type ask followed by your question.
Can also ask questions about files:
ask -f README.md -f CHANGELOG.md what does these files do