#tl-dr #syntax-highlighting #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

#456 in Command line utilities

Download history 7/week @ 2024-02-15 42/week @ 2024-02-22 7/week @ 2024-02-29 5/week @ 2024-03-07 4/week @ 2024-03-14 8/week @ 2024-03-28 70/week @ 2024-04-04 20/week @ 2024-04-11 7/week @ 2024-04-25 18/week @ 2024-05-02

63 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–30MB
~374K SLoC