Browse Source

Add destroy command

umbrel-beta
Luke Childs 5 years ago
parent
commit
0019b4514f
  1. 12
      umbrel-dev

12
umbrel-dev

@ -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
exit
fi

Loading…
Cancel
Save