Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Case/switch

case "$1" in
  start | up)
    vagrant up
    ;;

  *)
    echo "Usage: $0 {start|stop|ssh}"
    ;;
esac
Source by devhints.io #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+4 =