#! /bin/sh

command="$1"
shift

case "$command" in
  status)
    command=stat
    ;;

  create|register|search|delete|optimize)
    ;;

  *)
    echo "usage: rast create|register|search|delete|optimize|status OPTIONS" \
        1>&2
    exit 1
    ;;
esac

exec rast-"$command" "$@"
