SS = {
"covfefe": "espresso;espresso lungo;cappuccino;latte macchiato",
"coffee": "espresso;espresso lungo;cappuccino;latte macchiato",
+ "mate": "Club-Mate 0,5 l;Club-Mate 0,33 l",
}
if __name__ == "__main__":
if len(argv) != 4:
- print("Usage: python3 drunk_sum.py {} {} {}".format(
+ print("Usage: PYTHONPATH=. python3 run/drunk_sum.py {} {} {}".format(
"\"espresso lungo\"",
"\"2010-10-20\"",
"\"2020-10-20\""
))
- print("Or: python3 drunk_sum.py {} {} {}".format(
+ print("Or: PYTHONPATH=. python3 run/drunk_sum.py {} {} {}".format(
"\"espresso lungo;espresso\"",
"\"2010-10-20\"",
"\"2020-10-20\""
))
+ print("Or: PYTHONPATH=. python3 run/drunk_sum.py {} {} {}".format(
+ "coffee",
+ "2010-10-20",
+ "2020-10-20"
+ ))
+ print("Instead of beverage real name, you may use:")
+ print("- coffee (for all coffees)")
+ print("- covfefe (equal to coffee)")
+ print("- mate (for all Club-mates)")
exit(1)
g = CoffeebotGetter()
if ";" in argv[1]: