Files
tkmind_go/ui/desktop/src/bin/npx
T
2025-12-16 13:13:28 -05:00

17 lines
484 B
Bash
Executable File

#!/bin/bash
# Enable strict mode to exit on errors and unset variables
set -euo pipefail
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Source the common setup script
source "${SCRIPT_DIR}/node-setup-common.sh"
# Final step: Execute npx with passed arguments
log "Executing 'npx' command with arguments: ${*}"
npx "${@}" || log "Failed to execute 'npx' with arguments: ${*}"
log "npx script completed successfully."