usage() {
cat <<EOF
-usage: drin $(basename $0 .sh) [-h|--help]
+usage: drin $(basename "$0" .sh) [-h|--help]
Cleanup the project, removing all the installed files.
read -p "Type ${CONFIRMATION_STRING} to confirm: " INPUT
run() {
- echo $*
- $*
+ echo "$@"
+ "$@"
}
[ "$INPUT" = "$CONFIRMATION_STRING" ] && run sudo rm -rf config/ web/ vendor/ composer.lock