The first time you run the app on your system a directory is created with the default configuration in it at ~/.weathercli/, the settings are stored in "settings.json"
settings.json is merely a table of settings, below is a list of all settings, and description and examples of the values. Use "weather settings" for a gui
Name | Values | Function | Default |
---|---|---|---|
OPEN_WEATHER_MAP_API_KEY | any string | The API key for Open Weather Maps | None |
BING_MAPS_API_KEY | any string | The API key for Bing Maps (used for better geolocation) | None |
NCDC_API_KEY | any string | NOAA NCDC API KEY (unused as of now) | None |
METRIC_DEFAULT | true, false | if true, the default units will be metric | false |
DEFAULT_BACKEND | METEO, NWS, THEWEATHERCHANNEL, OPENWEATHERMAP | Weather backend to retrieve data from | METEO |
CONSTANT_LOCATION | true, false | if true, the users current location will be cached | false |
ENABLE_DAEMON | true, false | if true, the daemon will be run, it is used to cache results and starts on os startup | false |
AUTO_UPDATE_INTERNET_RESOURCES | true, false | if true, resources stored in .weathercli/resources get auto updated, disable this if you patched any file in this directory | false |