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
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ╭─────┬────────╮
|
||||||
|
# │ log │ levels │
|
||||||
|
# ╰─────┴────────╯
|
||||||
|
|
||||||
rwx_log_fatal() {
|
rwx_log_fatal() {
|
||||||
local code="${1}"
|
local code="${1}"
|
||||||
shift
|
shift
|
||||||
|
|
|
@ -53,6 +53,7 @@ rwx_main_find() {
|
||||||
|
|
||||||
# run required initial steps
|
# run required initial steps
|
||||||
#< core/code
|
#< core/code
|
||||||
|
#< core/shell
|
||||||
rwx_main_main() {
|
rwx_main_main() {
|
||||||
local module
|
local module
|
||||||
local modules
|
local modules
|
||||||
|
@ -70,6 +71,8 @@ ${modules}
|
||||||
EOF
|
EOF
|
||||||
# run code module main function with found main modules
|
# run code module main function with found main modules
|
||||||
rwx_code_main "${modules}" "${@}"
|
rwx_code_main "${modules}" "${@}"
|
||||||
|
# run shell module main function
|
||||||
|
rwx_shell_main
|
||||||
}
|
}
|
||||||
|
|
||||||
# run main function
|
# run main function
|
||||||
|
|
|
@ -181,5 +181,3 @@ rwx_shell_main() {
|
||||||
# configure shell
|
# configure shell
|
||||||
rwx_shell_configure
|
rwx_shell_configure
|
||||||
}
|
}
|
||||||
|
|
||||||
rwx_shell_main
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue