Google Generative AI (Gimini) cli helper .
A package help you getting cli ai suggestions using Google Gimini
Install
The latest stable release can be installed from NPM :
npm install -g commands-helper
# then set your api key generate from https://makersuite.google.com/app/apikey
commands-helper --set-api-key="YOUR_API_KEY"
Simple Usage
commands-helper --q="convert avi to mp4 with acc audio format using ffmpeg"
ffmpeg -i input.avi -c:v libx264 -c:a aac -strict experimental -b:a 128k output.mp4
commands-helper --q="extract the string 'switch' from all txt and js files"
find . -type f -name '*.txt' -exec grep -i switch {} + | sed 's/.*switch//g'
License
- MIT
- I hold no legal responsibility; for more information, please refer to the bottom of the readme file.
Bugs and Issues
Sincerely grateful for any reports on new features or bugs. Your valuable feedback on the code is highly appreciated.
Contacts
Reference
[1] https://github.com/kernelcode/commands-helper