dev/test
All checks were successful
/ job (push) Successful in 2m57s

This commit is contained in:
Marc Beninca 2025-07-27 17:21:38 +02:00
parent 7dd1195225
commit 66e17871ee
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

61
sh/dev/test.sh Normal file
View file

@ -0,0 +1,61 @@
# ╭──────╮
# │ 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
}