From 80949cf6c077c0a4a76c6070c85ef5bbdbb1ba66 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 10 Jul 2025 04:33:43 +0200 Subject: [PATCH] main/shell --- sh/log/log.sh | 4 ++++ sh/main.sh | 3 +++ sh/shell/0.sh | 2 -- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sh/log/log.sh b/sh/log/log.sh index 3921b8a..60c155c 100644 --- a/sh/log/log.sh +++ b/sh/log/log.sh @@ -35,6 +35,10 @@ _rwx_log() { done } +# ╭─────┬────────╮ +# │ log │ levels │ +# ╰─────┴────────╯ + rwx_log_fatal() { local code="${1}" shift diff --git a/sh/main.sh b/sh/main.sh index 09d3cd0..f14f6e7 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -53,6 +53,7 @@ rwx_main_find() { # run required initial steps #< core/code +#< core/shell rwx_main_main() { local module local modules @@ -70,6 +71,8 @@ ${modules} EOF # run code module main function with found main modules rwx_code_main "${modules}" "${@}" + # run shell module main function + rwx_shell_main } # run main function diff --git a/sh/shell/0.sh b/sh/shell/0.sh index 415d371..6eb5989 100644 --- a/sh/shell/0.sh +++ b/sh/shell/0.sh @@ -181,5 +181,3 @@ rwx_shell_main() { # configure shell rwx_shell_configure } - -rwx_shell_main