/cht

Rust-based CLI for interacting with https://cht.sh

Primary LanguageRustMIT LicenseMIT

chtsh

chtsh is a Rust CLI for cht.sh.

I am unaffiliated with cht.sh. This is a hobby project.

cht.sh's GitHub repository advertises an existing CLI, and it is stable and feature complete.

Usage

chtsh <LANGUAGE> [QUERY_PARTS]

Args

Arg Required Desc
LANGUAGE Must be a valid programming language or topic.
QUERY_PARTS Freeform parameter where you can ask a question regarding the provided LANGUAGE. Defaults to :list which will print the known topics for the provided LANGUAGE.

Options

Option Desc
-h, --help Print help information
-V, --version Print version information

Valid usage examples:

chtsh go
chtsh rust error handling
chtsh java stream filter

Any constructive feedback is appreciated 🙂