settings command
Customize the settings of the Tethys Portal.
python
usage: tethys settings [-h] [-s SET_KWARGS SET_KWARGS] [-g [GET_KEY]]
[-r RM_KEY]
Named Arguments
- -s, --set
Key Value pairs to add to the settings in the portal_config.yml file. Hierarchical keys can be specified with dot notation. (e.g. DATABASES.default.NAME)
- -g, --get
Retrieve the resolved value of a key from settings if it exists. Otherwise, attempt to return the value of the key from the portal_config.yml
- -r, --rm, --remove
Removes a key from the portal_config.yml file if it exists. Hierarchical keys can be specified with dot notation. (e.g. DATABASES.default.NAME)