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

Version Path
rack-app-sequel-0.6.1 script/database
rack-app-sequel-0.6.0 script/database
rack-app-sequel-0.5.0 script/database
rack-app-sequel-0.4.0 script/database
rack-app-sequel-0.3.0 script/database
rack-app-sequel-0.2.0 script/database
rack-app-sequel-0.1.0 script/database