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

app bropages

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

15 releases (9 stable)

1.41.0 Sep 17, 2023
1.40.1 Jan 3, 2023
1.40.0 Nov 18, 2022
1.5.0 Apr 9, 2024
0.1.2 Mar 8, 2020

#668 in Command line utilities

Download history 3/week @ 2024-09-22 2/week @ 2024-09-29 1/week @ 2024-10-06 6/week @ 2024-10-13 8/week @ 2024-11-03 1/week @ 2024-11-10 179/week @ 2024-12-01

180 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

~17–27MB
~342K SLoC