#!/usr/bin/env bash

# Drush wrapper script
# This script allows you to run 'drush' from anywhere without typing the full path

# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

# Project root is one level up from bin/
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"

# Execute the actual drush command from vendor/bin
exec "$PROJECT_ROOT/vendor/bin/drush" "$@"
