rwx/sh/dev/test.sh
Marc Beninca 173f842b9a
All checks were successful
/ job (push) Successful in 2m54s
for/in
2025-08-02 10:05:13 +02:00

63 lines
936 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; do
echo
echo "${items}"
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; do
echo
rwx_code_doc "${item}"
done
}