557 files merged. Conflicts resolved: - CHANGELOG.md: took refactor/lazy-loading (session changelog) - versions.ncl: took refactor/lazy-loading (adds typedialog entries)
16 lines
568 B
Text
16 lines
568 B
Text
# Selective imports (ADR-025 Phase 3 Layer 2).
|
|
# config/accessor star-import was dead — dropped.
|
|
use lib_provisioning/utils/logging.nu [is-debug-enabled]
|
|
use lib_provisioning/utils/interface.nu [_ansi _print]
|
|
|
|
export def cleanup [
|
|
wk_path: string
|
|
] {
|
|
if not (is-debug-enabled) and ($wk_path | path exists) {
|
|
rm --force --recursive $wk_path
|
|
} else {
|
|
_print $"(_ansi default_dimmed)______________________(_ansi reset)"
|
|
_print $"(_ansi default_dimmed)Work files not removed"
|
|
_print $"(_ansi default_dimmed)wk_path:(_ansi reset) ($wk_path)"
|
|
}
|
|
}
|