Executable Runtime Support

SolidGroundUX DocumentationSolidGroundUX
NL

Provide shared startup helpers for SolidGroundUX executable scripts

Source: target-root/usr/local/lib/solidgroundux/common/sgnd-exe-common.sh

Provide shared startup helpers for SolidGroundUX executable scripts

Public functions

Internal functions
FunctionPurposeArgumentsOutput
_sgnd_lib_guardEnsure direct execution is rejected and record that the library has been sourced.——
_sgnd_minimal_say_normalize_log_levelConvert aliases and legacy log-level names into a canonical SolidGroundUX—Writes the normalized log-level name to stdout.
_sgnd_minimal_say_should_print_consoleDetermine whether a bootstrap message should be written before the full——
_load_bootstrapperResolve and source the main SolidGroundUX bootstrap library.—Writes a fatal message to stderr when the bootstrap library cannot be read.

Description

Provides executable-level runtime support used after the framework has been located but before the full SolidGroundUX runtime has been bootstrapped.

The library:

  • Provides minimal pre-bootstrap UI output helpers
  • Resolves and loads the framework bootstrap library
  • Provides the standard executable startup sequence through sgnd_exe_start
  • Keeps executable templates small and consistent

Design principles

  • Keep executable scripts focused on script-specific behavior
  • Centralize shared executable startup mechanics
  • Remain safe to source before the full framework is loaded
  • Allow executable scripts to override helpers when needed

Role in framework

  • Executable runtime support layer
  • Loaded by executable templates after framework root resolution
  • Bridges executable startup and full framework bootstrap

Non-goals

  • Framework root discovery
  • Application-specific behavior
  • Full UI rendering after ui-say.sh has loaded