Sha256: 356a1da8f5e4207d1a28374f133689a6323c3d71827953bb6b420f89bc370839

Contents?: true

Size: 675 Bytes

Versions: 5

Compression:

Stored size: 675 Bytes

Contents

#!/bin/bash

#/ NAME
#/     ao-dna -- dumps opsdb yaml
#/
#/ SYNOPSIS
#/     ao dna [deploy_set...]

# figure out the project root under which bin, lib live
shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"

# load a jason bourne library
source "$shome/sbin/_treadstone"

# parse the command-line

# entry point
function main {
  export LOCAL_ONLY=true
  {
    echo "eea914aaa8dde6fdae29242b1084a2b0415eefaf ---"
    if [[ -n $1 ]]; then
      set -- $(for a in "$@"; do echo $a.yaml; done)
      cap "$@"
    fi
  } 2>&1 | grep eea914aaa8dde6fdae29242b1084a2b0415eefaf | sed 's#eea914aaa8dde6fdae29242b1084a2b0415eefaf ##'
}

require 'sub' "$BASH_SOURCE" "$@"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alpha_omega-1.2.1 libexec/ao-dna
alpha_omega-1.2.0 libexec/ao-dna
alpha_omega-1.1.11 libexec/ao-dna
alpha_omega-1.1.10 libexec/ao-dna
alpha_omega-1.1.9 libexec/ao-dna