From c3b1e0d2bb9d3853312c79d2715abdc5d06b0d3a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 3 Jan 2025 13:37:44 +0100 Subject: [PATCH] add colors --- start.sh | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/start.sh b/start.sh index 741d9bf..cb7a770 100755 --- a/start.sh +++ b/start.sh @@ -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