tempo is a command-line tool built in Go using the Cobra framework for checking weather forecasts. Stay informed about the current weather conditions and upcoming forecasts right from your terminal.
Other
1
stars
0
forks
source link
Configuration file should not be directly in HOME folder #1
seems to be created in home folder with a regular name (which is NOT a good idea - if all programs are doing like this, every home folder would be a mess ...)
and seems to not be configurable
Hence, as a suggestion :
under windows, the location should be under ~/.tempo/config.json
under linux, the location should be under ~/.config/tempo/config.json
(and lowercase names are probably better)
And/or a --config flag could/should be provided, allowing to override where the config file will be stored.
The configuration file :
Hence, as a suggestion :
~/.tempo/config.json
~/.config/tempo/config.json
(and lowercase names are probably better)And/or a
--config
flag could/should be provided, allowing to override where the config file will be stored.