blob: 3d84fe8b492c8b3b4da6b8805ed853cfb479f1dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env bash
set -e
# @describe Remove the file or directory at the specified path.
# @env FS_BASE_DIR=. The base dir
# @option --path! The path of the file or directory to remove
main() {
path="$FS_BASE_DIR/$argc_path"
rm -rf "$path"
echo "Path removed: $path"
}
eval "$(argc --argc-eval "$0" "$@")"
|