Skip to content

nullpointerio/Kaffeeliste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaffeeliste

ASCII-Art Generator

Usage

kaffeeliste --help
usage: Kaffeeliste [-h|--help] [--headline "<value>"] [--headlinefont
                   "<value>"] [-f|--file "<value>"] [--char "<value>"]
                   [-w|--width <integer>] [--widthnamecol <integer>] [-c|--cols
                   <integer>] [-r|--rows <integer>] -n|--name "<value>"
                   [-n|--name "<value>" ...] [-b|--border]

                   Generates a list containing all coffee-trinkers to make a
                   tick for every coffee

Arguments:

  -h  --help          Print help information
      --headline      Headline. Default: Kaffeeliste
      --headlinefont  Font from https://github.com/common-nighthawk/go-figure.
                      Default: univers
  -f  --file          path of configuration file
      --char          character for each position. Default: C
  -w  --width         col width (characters per col). Default: 5
      --widthnamecol  width of the name-column. Default: 18
  -c  --cols          number of cols. Default: 7
  -r  --rows          number of rows per name. Default: 5
  -n  --name          names of the coffee-trinkers
  -b  --border        show border. Default: true

Demo

kaffeeliste -n Marry -n Paul -n Peter
88      a8P                  ad88     ad88                          88  88
88    ,88'                  d8"      d8"                            88  ""               ,d
88  ,88"                    88       88                             88                   88
88,d88'       ,adPPYYba,  MM88MMM  MM88MMM   ,adPPYba,   ,adPPYba,  88  88  ,adPPYba,  MM88MMM   ,adPPYba,
8888"88,      ""     `Y8    88       88     a8P_____88  a8P_____88  88  88  I8[    ""    88     a8P_____88
88P   Y8b     ,adPPPPP88    88       88     8PP"""""""  8PP"""""""  88  88   `"Y8ba,     88     8PP"""""""
88     "88,   88,    ,88    88       88     "8b,   ,aa  "8b,   ,aa  88  88  aa    ]8I    88,    "8b,   ,aa
88       Y8b  `"8bbdP"Y8    88       88      `"Ybbd8"'   `"Ybbd8"'  88  88  `"YbbdP"'    "Y888   `"Ybbd8"'
+--------------------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
|        NAME        |     1     |     2     |     3     |     4     |     5     |     6     |     7     |
+--------------------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
| Marry              | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    |           |           |           |           |           |           |           |
| Paul               | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    |           |           |           |           |           |           |           |
| Peter              | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C | C C C C C |
|                    |           |           |           |           |           |           |           |
+--------------------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
+--------------------------------------------------------------------------------------------------------+
|                           Generated by github.com/nullpointerio/Kaffeeliste                            |
+--------------------------------------------------------------------------------------------------------+

Run in Docker (Docker Image not yet published)

docker run --rm ghcr.io/nullpointerio/kaffeeliste kaffeeliste -n tom