linkedIn_auto_jobs_applier_.../run_cmd.sh

14 lines
331 B
Bash
Raw Normal View History

2024-09-03 01:55:32 +00:00
#!/bin/bash
resume_file=$1 # No spaces around the '=' sign
# Add the src directory to PYTHONPATH
export PYTHONPATH=$PYTHONPATH:$(pwd)/src
# Run the Python script with the specified resume file
if [ -z "$resume_file" ]; then # Check if resume_file is empty
python main.py
else
python main.py --resume "$resume_file"
fi