Framework Preference Utility

SolidGroundUX DocumentationSolidGroundUX
NL

Show and change transferable SolidGroundUX framework preferences

Source: target-root/usr/local/libexec/solidgroundux/sgnd.sh

Show and change transferable SolidGroundUX framework preferences

Public functions

Internal functions
FunctionPurposeArgumentsOutput
_sgnd_preference_valid_loglevelValidate a transferable log level.- $1 — LEVEL - Requested console or file log level.—
_sgnd_preference_theme_nameResolve either the literal short theme name used by sgnd_theme or a convenient- $1 — THEME - Requested theme name.Prints the canonical short theme name when exactly one installed theme matches.
_sgnd_preference_showDisplay the current transferable framework preferences.——
_sgnd_preference_set_loglevelValidate and persist one framework log level.- $1 — KEY - SGND_CONSOLE_LOG_LEVEL or SGND_FILE_LOG_LEVEL.—
_sgnd_preference_set_themeValidate, apply, and persist the active framework theme.- $1 — THEME - Installed theme name or unambiguous punctuation-free spelling.—

Description

Provides a small command-line front end for the transferable SolidGroundUX framework settings also used by the Management Console. It can show or change console logging, file logging, and the active UI theme without maintaining a separate configuration.

Usage

Run the executable from its shell command (or installed wrapper):

sgnd
sgnd consoleloglevel quiet
sgnd fileloglevel verbose
sgnd theme mono-blue
sgnd theme monoblue
sgnd --dryrun consoleloglevel debug

Positional settings commands are shown in the examples above.