Sha256: 2050a5d2ed84df5f6c0a237ff2473fe33e6be7cab651500f95b71e16033c858b

Contents?: true

Size: 745 Bytes

Versions: 5

Compression:

Stored size: 745 Bytes

Contents

#!/bin/bash

#/ NAME
#/     meat -- sources a meaty library and dump arguments
#/
#/ SYNOPSIS
#/     meat the stuff you get at safeway
#/     meat --prime japanese kobe steak
#/
#/ DESCRIPTION
#/
#/     The arguments are arbitrary.

shome="$(cd -P -- "$(dirname -- "$0")/.." && pwd -P)"
source "$shome/bin/_prime" "$@"

function dump_args {
  echo "0' $shome"

  local i=1
  while [[ "$#" > 0 ]]; do
    echo "$i: $1"; shift
    i="$((i+1))"
  done
}

function main {
  local quality="meat"

  if [[ "$FLAGS_prime" = "$FLAGS_TRUE" ]]; then
    quality="prime"
  fi

  require "$quality" "$@"

  dump_args "$@"
}

DEFINE_boolean 'prime' 'false' 'enable more restrictions'

parse_command_line "$@" || exit $?
eval set -- "${FLAGS_ARGV}"
main "$@"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
HeSYINUvSBZfxqA-capistrano-2.5.28 bin/meat
HeSYINUvSBZfxqA-capistrano-2.5.27 bin/meat
HeSYINUvSBZfxqA-capistrano-2.5.26 bin/meat
HeSYINUvSBZfxqA-capistrano-2.5.25 bin/meat
HeSYINUvSBZfxqA-capistrano-2.5.24 bin/meat