mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-29 16:16:06 +00:00
Add interactivity by CLI
This commit is contained in:
9
entrypoint.sh
Normal file
9
entrypoint.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$ENVIRONMENT" == "development" ]; then
|
||||
echo "Running in development mode. Starting rerun..."
|
||||
exec rerun --dir /build --ignore "websites/*" -- /build/bin/wayback_machine_downloader "$@"
|
||||
else
|
||||
echo "Not in development mode. Skipping rerun."
|
||||
exec /build/bin/wayback_machine_downloader "$@"
|
||||
fi
|
||||
Reference in New Issue
Block a user