Simple CLI tool to retrieve answers from StackExchange.
Inspired by how2 written in JS on node.js.
Main reason to reimplement in Rust - absence of desire to have node.js installed on my machine.
Another one - I want this tool to be more editor-friendly (without fancy UI and spinners).
-
Just download pre-built binary from
build
folder (don't forget to check for viruses). -
Assuming you have Rustc and Cargo installed.
git clone https://github.com/0nkery/how2-rs/
cd how2-rs
cargo build --release
# OR
cargo install
how2-rs [options] any googling query
Available options:
-
-m, --max-answers
Maximum answers to retrieve (defaults to 5).
-
-j, --json
Return answers json-encoded (defaults to false).
-
-h, --help
Show this message and exit.
If you have some insights how make my Rust code more idiomatic, you're welcome!
If you want to add some fancy functionality, you're welcome!
Just open Issue or make PR.