rwx/sh/test.sh
Marc Beninca fa9a2435a4
All checks were successful
/ job (push) Successful in 2m56s
test/cache
2025-07-11 02:21:33 +02:00

61 lines
927 B
Bash

# ╭──────╮
# │ test │
# ╰──────╯
# * code
# * doc
rwx_test() {
rwx_test_code
rwx_test_doc
}
# ╭──────┬──────╮
# │ test │ code │
# ╰──────┴──────╯
rwx_test_code() {
local items
set \
"awk" \
"modules_main" \
"modules_user" \
"constants" \
"variables" \
"functions" \
"aliases" \
"aliases_functions" \
"commands" \
"commands_functions" \
"tasks"
rwx_code_cache
for items in "${@}"; do
echo
"rwx_code_${items}"
done
}
# ╭──────┬─────╮
# │ test │ doc │
# ╰──────┴─────╯
rwx_test_doc() {
local item
set \
"main" \
"alias/git" \
\
"RWX_MAIN_MODULE" \
\
"rwx_code_cache_main" \
\
"rwx_main_cache" \
\
"alias/batcat" \
"b" \
\
"rwx_install"
for item in "${@}"; do
echo
rwx_code_doc "${item}"
done
}