abakaffe-cli

A CLI for the Abakus Coffee API


Keywords
Abakus, coffee, API
License
MIT
Install
pip install abakaffe-cli==0.2.5

Documentation

CLI for kaffe.abakus.no

Build Status

Installasjon

pip install abakaffe-cli 

Mest sannsynlig har du lyst Γ₯ skrive sudo foran den linja.

Eksempel

$ abakaffe
Kaffe ble sist traktet for 4 timer og 57 minutter siden.
$ abakaffe -sao
    ____              _           _          __  __
  .'    `.      /\   | |         | |        / _|/ _|
 /        \    /  \  | |__   __ _| | ____ _| |_| |_ ___
 |        |   / /\ \ | '_ \ / _` | |/ / _` |  _|  _/ _ \
 \        /  / ____ \| |_) | (_| |   < (_| | | | ||  __/
  `.____.'  /_/    \_\_.__/ \__,_|_|\_\__,_|_| |_| \___|

Kaffetrakteren er pΓ₯!
Kaffen til Abakus ble sist traktet for 5 minutter siden.
2013-11-26 β–ˆβ–ˆβ–ˆ 3
2013-11-27 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 13
2013-11-28 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 16
2013-11-29 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 14
Kaffen til Online ble sist traktet for 3 timer og 28 minutter siden.

Hvilke valg har jeg?

$ abakaffe --help
usage: abakaffe [-h] [-a] [-s] [-o] [-v]

When was the coffee brewed?

optional arguments:
  -h, --help    show this help message and exit
  -a, --ascii   prints the Abakaffe ascii-art
  -s, --stats   prints a graph displaying Abakus' coffee consumption
  -o, --online  should I go one floor down to Online?
  -v, --version prints the abakaffe-cli version number