mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
11 lines
311 B
Bash
Executable File
11 lines
311 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
title="Creating project..."
|
|
script="${SCRIPTS:-$HOME/.local/scripts}/utils/hpa/hpa-create"
|
|
first_arg=${1:-""}
|
|
if [[ $first_arg == "-h" ]] || [[ $first_arg == "--help" ]]; then
|
|
. "$script" $*
|
|
else
|
|
gum spin --show-output --title "$title" -- bash -c "$script $*" | tr -d '\r' | head -1
|
|
fi
|