#!/bin/bash bucketname=$1 if [[ -z "$bucketname" ]]; then echo "Usage: $0 bucket-name" exit 1 fi set -x garage bucket delete $bucketname --yes garage key delete $bucketname --yes