main/shell
This commit is contained in:
parent
79a8584fde
commit
80949cf6c0
3 changed files with 7 additions and 2 deletions
|
@ -35,6 +35,10 @@ _rwx_log() {
|
|||
done
|
||||
}
|
||||
|
||||
# ╭─────┬────────╮
|
||||
# │ log │ levels │
|
||||
# ╰─────┴────────╯
|
||||
|
||||
rwx_log_fatal() {
|
||||
local code="${1}"
|
||||
shift
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -181,5 +181,3 @@ rwx_shell_main() {
|
|||
# configure shell
|
||||
rwx_shell_configure
|
||||
}
|
||||
|
||||
rwx_shell_main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue