howcani

Crates.iohowcani
lib.rshowcani
version0.2.2
sourcesrc
created_at2024-05-28 17:04:07.250091
updated_at2024-06-07 18:18:28.766469
descriptionA generative AI-powered CLI for getting step-by-step instructions for how to perform various tasks using the command line
homepage
repositoryhttps://github.com/Brendon-Hablutzel/howcani
max_upload_size
id1254575
size147,404
Brendon Hablutzel (Brendon-Hablutzel)

documentation

README

howcani

A generative AI-powered CLI for getting step-by-step instructions for how to perform various tasks using the command line.

Use

To install, ensure you have cargo on your system and run cargo install howcani.

The CLI requires a generative AI model as a backend to use for producing the instructions. As of now, there is only one available: Cohere.

Then, to get instructions for some task, simply run howcani do "some task"

Example:

Demo Image

Credentials

Before using the CLI, you must set the credentials required for the chosen model--for Cohere, this is one API key. To add this key, run the howcani creds add with no arguments and paste your key when prompted. This will be stored in a toml file in your personal config directory (for example, on most Linux systems, the config file would be located at /home/user/.config/howcani-creds.toml).

Example:

cohere_api_key = "key"
Commit count: 6

cargo fmt