main/shell

This commit is contained in:
Marc Beninca 2025-07-10 04:33:43 +02:00
parent 79a8584fde
commit 80949cf6c0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
3 changed files with 7 additions and 2 deletions

View file

@ -35,6 +35,10 @@ _rwx_log() {
done
}
# ╭─────┬────────╮
# │ log │ levels │
# ╰─────┴────────╯
rwx_log_fatal() {
local code="${1}"
shift

View file

@ -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

View file

@ -181,5 +181,3 @@ rwx_shell_main() {
# configure shell
rwx_shell_configure
}
rwx_shell_main