Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nullpointerio/kaffeeliste
Coffee-ASCII-List-Generator
https://github.com/nullpointerio/kaffeeliste
ascii-art bill billing coffee coffee-machine coffeescript command-line command-line-tool generator kaffeekasse kaffeemaschine list
Last synced: 22 days ago
JSON representation
Coffee-ASCII-List-Generator
- Host: GitHub
- URL: https://github.com/nullpointerio/kaffeeliste
- Owner: nullpointerio
- License: mit
- Created: 2021-09-13T17:59:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-17T19:13:55.000Z (almost 3 years ago)
- Last Synced: 2024-10-16T07:35:35.207Z (22 days ago)
- Topics: ascii-art, bill, billing, coffee, coffee-machine, coffeescript, command-line, command-line-tool, generator, kaffeekasse, kaffeemaschine, list
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kaffeeliste
ASCII-Art Generator## Usage
```
kaffeeliste --help
usage: Kaffeeliste [-h|--help] [--headline ""] [--headlinefont
""] [-f|--file ""] [--char ""]
[-w|--width ] [--widthnamecol ] [-c|--cols
] [-r|--rows ] -n|--name ""
[-n|--name "" ...] [-b|--border]Generates a list containing all coffee-trinkers to make a
tick for every coffeeArguments:
-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
```