#cli #sheet #client #cli-client #cheat

app chtsh

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

2 releases

0.1.1 Feb 15, 2022
0.1.0 Feb 3, 2022

#1851 in Asynchronous

MIT license

9KB
127 lines

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]

LANGUAGE is required and must be a valid programming language or topic.

QUERY_PARTS is an optional freeform parameter where you can ask a question regarding the provided LANGUAGE value. If left empty, QUERY_PARTS's value defaults to :list which will print the known topics for the value provided in LANGUAGE.

Valid usage examples:

chtsh go
chtsh rust error handling
chtsh java stream filter

Any constructive feedback is appreciated 🙂

Dependencies

~7–14MB
~165K SLoC