Skip to main content

A CLI for the Abakus Coffee API

Project description

# CLI for [kaffe.abakus.no](http://kaffe.abakus.no)

## 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 --stats
Kaffe ble sist traktet for 4 timer og 58 minutter siden.
2013-11-26 |### 3
2013-11-27 |############# 13
$ abakaffe --ascii
_ _ __ __
/\ | | | | / _|/ _|
/ \ | |__ __ _| | ____ _| |_| |_ ___
/ /\ \ | '_ \ / _` | |/ / _` | _| _/ _ \
/ ____ \| |_) | (_| | < (_| | | | || __/
/_/ \_\_.__/ \__,_|_|\_\__,_|_| |_| \___|

Kaffe ble sist traktet for 4 timer og 58 minutter siden.

## Hvilke valg har jeg?

$ abakaffe --help
usage: abakaffe-cli [-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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

abakaffe-cli-0.2.5.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page