Configuring Weathercli

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

NameValuesFunctionDefault
OPEN_WEATHER_MAP_API_KEYany stringThe API key for Open Weather MapsNone
BING_MAPS_API_KEYany stringThe API key for Bing Maps (used for better geolocation)None
NCDC_API_KEYany stringNOAA NCDC API KEY (unused as of now)None
METRIC_DEFAULTtrue, falseif true, the default units will be metricfalse
DEFAULT_BACKENDMETEO, NWS, THEWEATHERCHANNEL, OPENWEATHERMAPWeather backend to retrieve data fromMETEO
CONSTANT_LOCATIONtrue, falseif true, the users current location will be cachedfalse
ENABLE_DAEMONtrue, falseif true, the daemon will be run, it is used to cache results and starts on os startupfalse
AUTO_UPDATE_INTERNET_RESOURCEStrue, falseif true, resources stored in .weathercli/resources get auto updated, disable this if you patched any file in this directoryfalse