diff --git a/README.md b/README.md index 240eb21..bd26820 100644 --- a/README.md +++ b/README.md @@ -137,5 +137,12 @@ Enable autocompletion on your terminal eval "$(kickstart autocomplete)" ``` +### Debbuging +Prepend DEBUG=1 to the command and you will see massive ammount of commands on your screen + +```bash +DEBUG=1 kickstart local nodejs +``` + ### Thanks This project was inspired on [sunzi](https://github.com/kenn/sunzi) diff --git a/lib/kickstart-deploy b/lib/kickstart-deploy index 2e8aee1..004c65f 100755 --- a/lib/kickstart-deploy +++ b/lib/kickstart-deploy @@ -7,6 +7,7 @@ target=$1 shift [[ "$1" == "--sudo" ]] && prefix="sudo " && shift +[ "$DEBUG" ] && debug="-x" remote_command=$( cat <