GitHub - adri1wald/howto: howto <execute high level action via cli>

· GitHub

1 min read Original article ↗

Usage

$ howto --help

Usage: howto <ACTION>

Arguments:
  <ACTION>  The high-level action you would like to get a CLI command for

Options:
  -h, --help  Print help

# If you're feeling extra frisky

$ howto "<action>" | sh

Installation

cargo build --release

cp target/release/howto ~/.local/bin/

chmod +x ~/.local/bin/howto

Credentials

Chuck an API key in ~/.howto-cli/credentials

OR

Set the HOWTO_CLI_OPENAI_API_KEY environment variable