fn: sgnd_state_get
Purpose
Retrieve a persisted state value.
Arguments
--file FILE— Optional state file path.KEY— Valid shell identifier to retrieve.
Output
Writes the value to standard output without modifying shell variables.
Returns
0 when found; 1 for missing key, invalid input or missing state file.
Usage
value="$(sgnd_state_get --file "$SGND_FRAMEWORK_STATE_FILE" SGND_UI_STYLE)"
