Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

KernelCode/commands-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

14 Commits

Repository files navigation

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

#Example 1 :
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
#Example 2 :
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

About

A package help you getting cli ai suggestions using Google Gimini

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /