code/help

This commit is contained in:
Marc Beninca 2025-07-08 06:17:21 +02:00
parent 3dceffeea5
commit c8e4fc9b41
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 13 additions and 13 deletions

View file

@ -27,6 +27,18 @@ _rwx_code_functions=""
# cache for code variables # cache for code variables
_rwx_code_variables="" _rwx_code_variables=""
# ╭──────┬──────╮
# │ code │ help │
# ╰──────┴──────╯
# output help message
rwx_code_help() {
rwx_log \
"rwx_… = functions" \
" a__… = aliases" \
" u__… = user"
}
# ╭──────┬─────────╮ # ╭──────┬─────────╮
# │ code │ install │ # │ code │ install │
# ╰──────┴─────────╯ # ╰──────┴─────────╯
@ -219,7 +231,7 @@ rwx_code_main() {
if rwx_shell_interactive; then if rwx_shell_interactive; then
# help # help
rwx_log rwx_log
rwx_self_help rwx_code_help
fi fi
fi fi
} }

View file

@ -2,18 +2,6 @@
# │ self │ # │ self │
# ╰──────╯ # ╰──────╯
# ╭──────┬──────╮
# │ self │ help │
# ╰──────┴──────╯
# output help message
rwx_self_help() {
rwx_log \
"rwx_… = functions" \
" a__… = aliases" \
" u__… = user"
}
# ╭──────┬────────╮ # ╭──────┬────────╮
# │ self │ subset │ # │ self │ subset │
# ╰──────┴────────╯ # ╰──────┴────────╯