From 63098a2fe30edf2f8e0b5cb7d649f6379947f5d0 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Wed, 6 Jan 2021 17:45:15 +0100
Subject: [PATCH] docker/l3d#72 Implement "l3d info"

---
 run/scripts/info | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/run/scripts/info b/run/scripts/info
index ae00b33..6387948 100755
--- a/run/scripts/info
+++ b/run/scripts/info
@@ -22,9 +22,13 @@ function infol3d() {
     ${SCRIPTPATH}/list
   else
     if [[ "$1" == "info" ]]; then
-      echo "Here we will be printing useful information soon !!!"
+      if [[ -f .env ]]; then
+        more .env
+      fi
     else
-      echo "You're calling L3D inside of L3D, that's not useful."
+      echo -e "\\033[31m" ======================================== "\\033[0m"
+      echo -e "\\033[31m" Calling L3D inside of L3D is not useful. "\\033[0m"
+      echo -e "\\033[31m" ======================================== "\\033[0m"
     fi
   fi
   sectionFooter
-- 
GitLab