groq-cli

Crates.iogroq-cli
lib.rsgroq-cli
version0.1.1
sourcesrc
created_at2024-06-19 15:16:36.194061
updated_at2024-06-19 15:31:29.85216
descriptionA basic Cli to interact with Groq Api
homepage
repositoryhttps://github.com/Akshad135/groq-cli-rust
max_upload_size
id1276985
size49,628
Akshad Agrawal (Akshad135)

documentation

README

Groq-Cli

Groq-Cli rewritten in Rust.

Downloads

  • From crates.io: cargo install groq-cli
  • From releases (Binary File) click here
    • Instructions to use the binary file is mentioned with the file
  • Or build it yourself:
    • Download the source code.
    • cd into the directory
    • In your terminal run cargo build && cargo install --path .
    • Note: Building requires Rust to be installed and configured

Usage

  • Run the cmd gcli after installing the package.
  • It will ask the Api key. (You can get the api key from GroqCloud after registering for free)
  • After entering the Api Key, select the model in the later step.

Commands

  • gcli [-s | --setup | -h | --help]
    • -s | --setup : Runs the setup config again to change the api key or model.
    • -h | --help : Runs the help command.
      Just running gcli will prompt for user query
Commit count: 18

cargo fmt