Expand description
UI installer helper — CLI arg parsing, path validation.
Ports functionality from scripts/lib/ui_installer_helper.sh:
- Struct-based parsing for
--dry-run,--dir,--force - System path validation (blocks sensitive directories)
- Git clone/update helpers
§Validation Assertions
- VAL-INFRA-015: CLI arg parsing with path validation
Structs§
- UiArgs
- Parsed common arguments for UI installer scripts.
Enums§
- UiArg
Error - Errors that can occur during UI argument parsing.
Functions§
- fix_
ownership - Fix file ownership when run with sudo.
- git_
clone_ or_ update - Clone a git repository or update it if it already exists.
- is_
system_ path - Check if a path targets a sensitive system directory.