15 lines
371 B
Bash
Executable File
15 lines
371 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Simple run script for YouTube CLI application
|
|
|
|
# Get the directory where this script is located
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
# Activate virtual environment if it exists
|
|
if [ -f "$SCRIPT_DIR/venv/bin/activate" ]; then
|
|
source "$SCRIPT_DIR/venv/bin/activate"
|
|
fi
|
|
|
|
# Run the youtube-cli application
|
|
python -m youtube_cli "$@"
|