Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 685 Bytes

File metadata and controls

30 lines (20 loc) · 685 Bytes

hk-bus-tracker-cli

This is a CLI tool for tracking KMB bus routes. The codebase is written in Go and uses the Cobra library for handling command-line arguments.

Build Instructions

To build the hk-bus-tracker-cli binary, use the following command:

go build -o hk-bus-tracker-cli  

This command will compile the project and generate a binary named hk-bus-tracker-cli.

Usage

  1. Build the CLI:

    go build -o hk-bus-tracker-cli  
  2. Run the CLI:

    ./hk-bus-tracker-cli [command]

    Replace [command] with the specific command you want to run, such as eta.

Commands

  • eta [route]: Fetch ETA for a bus route.