aboutsummaryrefslogtreecommitdiffhomepage
path: root/snippets/bash_case
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/bash_case')
-rw-r--r--snippets/bash_case10
1 files changed, 10 insertions, 0 deletions
diff --git a/snippets/bash_case b/snippets/bash_case
new file mode 100644
index 0000000..a91117c
--- /dev/null
+++ b/snippets/bash_case
@@ -0,0 +1,10 @@
1case "$1" in
2 start | up)
3 vagrant up
4 ;;
5
6 *)
7 echo "Usage: $0 {start|stop|ssh}"
8 ;;
9esac
10