@ -51,6 +51,11 @@ halt() {
vagrant halt
}
# Destroy the development VM
destroy() {
vagrant destroy
# Show help text if no args set or help is called
if [[ -z ${1+x} ]] || [[ "$1" = "help" ]]; then
show_help
@ -79,3 +84,10 @@ if [[ "$1" = "halt" ]]; then
halt
exit
fi
# Destroy
if [[ "$1" = "destroy" ]]; then
shift
destroy