Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
/ prideflag Public archive

Prints LGBTI flags (24-bit colors) in the terminal emulator.

License

Notifications You must be signed in to change notification settings

qexat/prideflag

Repository files navigation

Prideflag

Prints a LGBTI flag in the console. That's it.

Usage

Compiling

Before running the program, you might need to compile it.
Assuming you have cargo installed, simply run:

cargo build --release

The binary prideflag should now be on the path: <project_path>/target/release/.

You might want to have the said path on your $PATH to follow the next steps.

Basic

prideflag

This prints the default flag, i.e. the rainbow.

Output of the program, run with no args

With specified flag

You can specify the full name of a flag to print it.

prideflag --flag lesbian

Output of the program, run with --flag lesbian

...or you can use the short version.1

prideflag --flag l

Output of the program, run with --flag l

...also, it's case-insensitive!

prideflag --flag LeSbIaN

Output of the program, run with --flag LeSbIaN (lesbian is written with weird casing)

1 In scripting, it is recommended to use the full name to avoid ambiguity.

Other options

  • --help or -h
  • --version or -V

Assets

Flags

For a list of the available flags, read this.

Colors

All the HTML colors + some that are unique to the LGBTI flags.

Development

For development, read this.