Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 401 Bytes

File metadata and controls

36 lines (31 loc) · 401 Bytes

List of aliases

shared

clean_args=()
shift 1   # remove filename

while [ "$#" -gt 0 ]; do
  case "$1" in
    --arg)
      shift 2
      ;;
    --arg*)
      shift
      ;;
    *)
      clean_args+=("$1")
      shift
      ;;
  esac
done

set -- "${clean_args[@]}"

test

echo $@
echo $FOO

default run

echo "Defined actions:"
app ${APPNAME} --list-actions