Watch
1
0
Fork
You've already forked cli-flag-collection
0
mirror of synced 2026-11-03 18:17:19 +00:00
[MIRROR] A small cli program that prints pride flags!
  • C++ 93.2%
  • Makefile 6.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-14 13:47:53 +02:00
.gitignore Switched to make; Reworded README 2026-09-11 12:13:29 +02:00
cli-flag-collection.cpp Updated TODO in source file 2026-09-14 13:47:53 +02:00
LICENSE Initial commit 2026-09-11 10:34:44 +02:00
Makefile Switched to make; Reworded README 2026-09-11 12:13:29 +02:00
README.md Updated README to fit the --help page 2026-09-14 13:46:20 +02:00

cli-flag-collection

A small flag printing program written in C++23!


Installation:

For now my program is not in any repo so you have to build it from source.

  • Release + Static (Best performance and portability): cfc-cli-static

  • Release (same as above just not static): cfc-cli-release

  • Dev / Dynamic: cfc-cli-dynamic

Building from source:

Dependencies:

  • git
  • gcc
  • make
  • C++23

Firstly you pull this repo with:

git clone https://codeberg.org/MysteryBirb/cli-flag-collection.git

then cd into it:

cd cli-flag-collection

To compile the dynamic version without any optimizations you just run make. For the release and release static build you can run:

make static

or

make release

Usage:

Usage: ./cfc-cli [OPTION] [ARGUMENT] -f [FLAG]
All options:
    -f, --flag [FLAG]           Prints the chosen flag
    -h, --height [Integer]      Prints the flag with the chosen positive integer
    -s, --string '[String]'     Print the chosen flag with the given string (Flag width is not yet perfectly variable)
    --list                      List all available flags 
    --help                      Prints out the help screen

License

All of my code is distributed under the terms of the GPLv3 License.

See LICENSE for more details