commandtrein

command module
v0.0.0-...-953c692 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

README

Commandtrein

Commandtrein is a command-line interface (CLI) tool designed to access and display timetables and route information for SNCB (Belgian Railways) directly from your terminal.

DocumentationFeatures highlightsQuickstart

commandtrein

Build

Features

  • Timetables: retrieve and display the current timetable for any SNCB station.
  • Routes: Get detailed connections and travel times between two SNCB stations.
  • Shortcuts: Configure and use shortcuts for frequently used routes.

Documentation

Installation

Usage

Shell completion

Configuration

Commandtrein uses a YAML configuration file located at ~/.config/commandtrein/config.yaml. This files stores your shortcuts for frequent routes.

Example configuration:

shortcuts:
  work:
    station1: "Brussel-Midi"
    station2: "Antwerpen-Centraal"
Acknowledgements

Commandtrein leverages the iRails API, an open-source API for accessing real-time data from SNCB.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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