- Documented Fluent-based i18n system with locale detection - Bumped version from 1.0.10 to 1.0.11
15 lines
419 B
Plaintext
15 lines
419 B
Plaintext
use ../config/accessor.nu *
|
|
|
|
export def cleanup [
|
|
wk_path: string
|
|
] {
|
|
if not (is-debug-enabled) and ($wk_path | path exists) {
|
|
rm --force --recursive $wk_path
|
|
} else {
|
|
#use utils/interface.nu _ansi
|
|
_print $"(_ansi default_dimmed)______________________(_ansi reset)"
|
|
_print $"(_ansi default_dimmed)Work files not removed"
|
|
_print $"(_ansi default_dimmed)wk_path:(_ansi reset) ($wk_path)"
|
|
}
|
|
}
|