Get instant coding answers via the command line. Inspired by gleitz/howdoi
let answers = howto(&query).await;
let answer = answers.next().await.unwrap();
println("{}", answer.instruction);
docker run --rm -it pbzweihander/howto QUERY
cargo install howto-cli
howto QUERY
git clone https://github.com/pbzwehiander/howto.git
cd howto/howto-cli
cargo build --release
cargo install --path .
howto QUERY
howto-cli 0.3.0
USAGE:
howto-cli [FLAGS] [OPTIONS] [query]...
FLAGS:
-h, --help Prints help information
-f, --full Whether display the full text of the answer
-l, --link Whether display only the answer link
-V, --version Prints version information
OPTIONS:
-n, --num-answers <num-answers> Number of answers to return [default: 1]
-p, --position <position> Select answer in specified position [default: 0]
ARGS:
<query>...