#tl-dr #syntax-highlighting #cheatsheet #bro #tldr

app bropages

Highly readable supplement to man pages. Shows simple, concise examples for commands

14 releases (8 stable)

1.41.0 Sep 17, 2023
1.40.1 Jan 3, 2023
1.40.0 Nov 18, 2022
1.3.0 Jul 30, 2022
0.1.2 Mar 8, 2020

#439 in Command line utilities

Download history 9/week @ 2024-02-16 41/week @ 2024-02-23 6/week @ 2024-03-01

56 downloads per month

MIT and LGPL-3.0-or-later

3MB
249 lines

bropages (bro)

A CLI to interact with bropages.org.

Highly readable supplement to man pages. Shows simple, concise examples for commands with syntax highlighting.

Crates.io License

Screencast

A screenshot

Installation

The binary name for bropages is bro.

Currently bropages is only available through cargo.

cargo install bropages

Available options

USAGE:
    bro [OPTIONS] <query>

ARGS:
    <query>
            Command to lookup

OPTIONS:
    -h, --help
            Print help information

        --list-themes
            Display a list of supported themes for syntax highlighting.

        --no-paging
            Disable piping of the output through a pager

    -s, --search
            Search if provided query exist in the database
            This searches for entries in the http://bropages.org database

    -t, --theme <theme>
            Set the theme for syntax highlighting, default is `OneHalfDark`. Use '--list-themes' to
            see all available themes.

            [possible values: 1337, Coldark-Cold, Coldark-Dark, DarkNeon, Dracula, GitHub, "Monokai
            Extended", "Monokai Extended Bright", "Monokai Extended Light", "Monokai Extended
            Origin", Nord, OneHalfDark, OneHalfLight, "Solarized (dark)", "Solarized (light)",
            "Sublime Snazzy", TwoDark, "Visual Studio Dark+", ansi, base16, base16-256,
            gruvbox-dark, gruvbox-light, zenburn]

    -V, --version
            Print version information

Note

  • This is an unofficial rust port of ruby bropages.
  • I don't have any intentions to add the add, no/...no or thanks commands.

TODO

  • Cache results ?

Dependencies

~16–28MB
~367K SLoC