Closed geefr closed 3 years ago
In terms of the functionality, I suggest that two commands for the version are implemented. getVersions
, and setVersion
.
getVersions
should do exactly what it sounds like: output an array of all accepted versions. The API already outputs a JSON array, so this could perhaps be passed on, maybe changed to be more user-readable.
setVersion
should accept either a value from getVersions
, or accept the value latest
, which would, obviously, set it to the latest version.
Doing things this way would ensure that QBeat remains non-interactive.
Functionality is implemented in beataroni so closing. Would accept pr for qbeat but extremely low priority.
As implemented for the tui script in #60 but in the main qbeat binary