Which Beer?

Do you wanna choose a good beer for you? Here you can see all details from a specif beer or get surprised with and randomic one. It returns a beers list by brew date, if you wish

how to use

  • build a docker image from Dockerfile docker build -t which-beer .

  • run a container from the builded image docker run -it -v ~/Downloads:/app/files --rm --name beer which-beer bash

commands

help

  • main help punk

  • beers help punk beers

  • beer by id help punk beers id --help

  • random beer help punk beers random --help

  • list by brew date punk beers brewed-before --help

choose a beer

  • beer by id punk beers id <number>

  • random beer punk beers random

  • list by brew date punk beers brewed-before <mm-yyyy>

save the results in a file

If you choose one or both of the options below, the file(s) will be stored in host's Downloads folder

  • save as json file --json-file
  • save as csv file --csv-file