Crates.io | howcani |
lib.rs | howcani |
version | 0.2.2 |
source | src |
created_at | 2024-05-28 17:04:07.250091 |
updated_at | 2024-06-07 18:18:28.766469 |
description | A generative AI-powered CLI for getting step-by-step instructions for how to perform various tasks using the command line |
homepage | |
repository | https://github.com/Brendon-Hablutzel/howcani |
max_upload_size | |
id | 1254575 |
size | 147,404 |
A generative AI-powered CLI for getting step-by-step instructions for how to perform various tasks using the command line.
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:
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"