richbl / go-ble-sync-cycle

BLE Sync Cycle is a Go application designed to synchronize video playback with real-time cycling data from Bluetooth Low Energy (BLE) devices, such as cycling speed and cadence (CSC) sensors.

Repository from Github https://github.comrichbl/go-ble-sync-cycleRepository from Github https://github.comrichbl/go-ble-sync-cycle

Add support for passing configuration arguments via command line

richbl opened this issue · comments

commented

DOES:

Currently BSC is only configured via a TOML file

SHOULD:

For some use cases, it may be useful to pass configuration options via command line. For example, use a command line switch to override the video file to be played. Or use the cli to override any number of TOML settings

commented

The current implementation that addresses this item request allows for the command-line override of the TOML configuration file via the --config or -c flag (e.g., ble-sync-cycle -c home/user/.config/BSC/config.toml)

Other flags may get implemented in the future, but should be driven by request tickets that expressly identify specific needs/use cases.