Sha256: 47594d49e469c0fc572d1ed51a170e025c41d9bcaf8d46e5c42b2d55b40e0f23
Contents?: true
Size: 363 Bytes
Versions: 7
Compression:
Stored size: 363 Bytes
Contents
#!/bin/bash set -euo pipefail IFS=$'\n\t' COMMAND=$1 function main() { case "$COMMAND" in up) up ;; down) down ;; destroy) destroy ;; *) echo "invalid command: script/database up|down|destroy" ;; esac } function up() { vagrant up } function down() { vagrant suspend } function destroy() { vagrant destroy -f } main
Version data entries
7 entries across 7 versions & 1 rubygems