https://github.com/shettysach/cohle
Rust CLI that prints Rust Cohle quotes.
https://github.com/shettysach/cohle
clap-rs cli rust-cohle rust-lang terminal true-detective
Last synced: 5 months ago
JSON representation
Rust CLI that prints Rust Cohle quotes.
- Host: GitHub
- URL: https://github.com/shettysach/cohle
- Owner: shettysach
- Created: 2023-11-11T06:10:49.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2026-01-23T18:48:02.000Z (6 months ago)
- Last Synced: 2026-01-24T08:55:45.764Z (6 months ago)
- Topics: clap-rs, cli, rust-cohle, rust-lang, terminal, true-detective
- Language: Rust
- Homepage:
- Size: 277 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## COHLE
Rust CLI that prints Rust Cohle quotes.

**Install:**
```sh
# cargo
cargo install --git https://github.com/ShettySach/cohle
```
```nix
# nix
inputs = {
cohle.url = "github:shettysach/cohle";
cohle.inputs.nixpkgs.follows = "nixpkgs";
};
environment.systemPackages = lib.attrValues {
cohle = inputs.cohle.packages.${pkgs.system}.default;
};
```
**Usage**:
```sh
cohle [OPTIONS] [QUOTE_INDEX] [COMMAND]
```
```
Cohle: Rust CLI that prints Rust Cohle quotes.
Usage: cohle [OPTIONS] [QUOTE_INDEX] [COMMAND]
Commands:
quote Print only quote without image
image Print only image without quote
list Lists all the quotes and colours along with their indices
help Print this message or the help of the given subcommand(s)
Arguments:
[QUOTE_INDEX] Index of the quote, defaults to random [default: 18]
Options:
-c, --colour Colour of quote [default: w]
-b, --bold Print quote in bold
-i, --italic Print quote italicised
-g, --background Print image with black background
-h, --help Print help
```