aboutsummaryrefslogtreecommitdiffstats
path: root/tools/fs_mkdir.sh
blob: 7a7e71fcc66c061457a75d50c17a79c785c1ca6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
set -e

# @describe Create a new directory at the specified path.

# @env FS_BASE_DIR=. The base dir
# @option --path! The path of the directory to create

main() {
    path="$FS_BASE_DIR/$argc_path"
    mkdir -p "$path"
    echo "Directory created: $path"
}

eval "$(argc --argc-eval "$0" "$@")"