359017968d
feat: set version from git tag on build
...
- add version variable and default it to "devel"
- add ldflags to `.goreleaser.yaml` for version tagging
2024-11-07 20:51:41 +01:00
9c4d43a4d3
feat: reconnect on disconnect (status in TUI)
...
- add `Connected()` method for client
- add `LastErr` field to GoTomatoClient
- replace error logging by updating `LastErr` field
- modify methods to use pointer receivers for Client
- add `prevMessage` variable to store the last received server message
- show connect status in TUI
- use EnterAltScreen instead of ClearScreen
2024-11-07 20:13:25 +01:00
1dd42d3c14
refactor: rename config file cli parameter for consistency
...
- rename configfile parameter to parameter_configfile
- update references to the configfile parameter
🤖
2024-11-05 23:27:28 +01:00
561419b568
feat: implement centralized logging helper
...
- remove direct log usage
- create a new logging helper
- update all log calls to use the new Logger instance
- set timestamp to ISO8601
🤖
2024-11-04 20:39:21 +01:00
d4d14aa94a
fix: update config file handling
...
- show default config in help
- only use default config if exists, otherwise use passed file
2024-11-02 10:56:53 +01:00
8a0ef32c91
feat: use bubbletea framework
...
- implement TUI in bubbletea
- split components into separate files
- remove now unused functions
- restructure files
2024-11-02 10:55:15 +01:00