add colors
All checks were successful
lint, build and push / lint (push) Successful in 7s
lint, build and push / build (push) Successful in 59s

This commit is contained in:
Michael Grote 2025-01-03 13:37:44 +01:00
parent e2c4e4e4bc
commit c3b1e0d2bb

View file

@ -1,12 +1,19 @@
#!/bin/bash
echo 'usage: rip -f /data --no-progress url url https://www.deezer.com/de/playlist/935381445'
# Farben
BLUE='\[\e[34m\]'
GREEN='\[\e[32m\]'
RED='\[\e[31m\]'
YELLOW='\[\e[33m\]'
WHITE='\[\e[97m\]'
BLACK='\[\e[30m\]'
RESET='\[\e[0m\]'
ORANGE='\[\e[0;33m\]'
echo 'start streamrip image'
echo 'Download are stored under ~/streamrip'
sleep 5
echo "usage: ${ORANGE}rip -f /data --no-progress url url https://www.deezer.com/de/playlist/935381445${RESET}"
echo "start streamrip image"
echo "Download are stored under ${ORANGE}~/streamrip${RESET}"
docker pull registry.mgrote.net/streamrip:latest && \
docker run -it -v ~/streamrip:/data registry.mgrote.net/streamrip:latest /bin/bash
rip -f /data --no-progress url url https://www.deezer.com/de/playlist/935381445