summaryrefslogtreecommitdiff
path: root/src/lib/process.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-16 22:21:36 +0300
committerPaul Buetow <paul@buetow.org>2026-06-16 22:21:36 +0300
commit14d041e890765afbab396a29871d6bf6e8097fff (patch)
treee3fcdc084b75bbd7ec294489a72966e03d7f6ed1 /src/lib/process.source.sh
parentaca23d3a094cb1bf86db40e42f184fbf88371d42 (diff)
jn0 split bootstrap.source.sh into logging/paths/startup modules
Separate the mixed concerns in bootstrap.source.sh per [SRP]: - logging.source.sh: output_is_quiet, output_is_verbose, log_info, log_verbose, log_warning (the output/logging concern). - paths.source.sh: resolve_default_rc_file, resolve_source_root, resolve_default_template_dir, resolve_default_asset_dir, template_dir_uses_default, apply_template_dir_default, init_config (install/source-root/default-dir + rc-file/template-dir resolution). - bootstrap.source.sh keeps the CLI usage text and the shared resolve_config_array parser used by the config modules. Pure code move, verified byte-identical function bodies. LIB_SOURCES now lists logging.source.sh first, then bootstrap, then paths; matching source directives added to src/shuriken.sh so --check-sourced sees the new modules. just test/shellcheck/check-generated and git diff --check all pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'src/lib/process.source.sh')
0 files changed, 0 insertions, 0 deletions