bahnboom

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 16 Imported by: 0

README

🌐 Bahnboom 🧰

A CLI that reports current service disurptions and planned maintenance for Bahnhof.

Build Status

Please note that since Bahnhof does not provide an API or RSS feed with status information this CLI does some trickery to get it from the website. Should Bahnhof change how they publish and retrieve the data, this CLI will likely break.

Build

Builds like any other Go project, with Go >= 1.16:

$ go build -o bahnboom

Test

$ go test -v

Usage

$ ./bahnboom
• 🔥 2022-03-29: Ongoing service disruption on Zitius in Eslöv
• 🔥 2022-03-30: Ongoing service disruption on Lunet in Måttsund
• 👷 2022-03-30: Scheduled maintenance on Kramfors Stadsnät in Nyland

See -help for other flags.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL