tasks/simple

This commit is contained in:
Marc Beninca 2025-07-10 22:43:25 +02:00
parent 9823f99e7c
commit c03f0792d8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
3 changed files with 20 additions and 1 deletions

View file

@ -34,6 +34,8 @@ _rwx_code_commands_functions=""
_rwx_code_constants=""
# cache for code functions
_rwx_code_functions=""
# cache for code tasks
_rwx_code_tasks=""
# cache for code variables
_rwx_code_variables=""
@ -175,6 +177,12 @@ rwx_code_modules_user() {
echo "${rwx_code_modules_user}"
}
# show the cached tasks
#= rct
rwx_code_tasks() {
echo "${_rwx_code_tasks}"
}
# show the cached variables
#= rcv
rwx_code_variables() {
@ -233,6 +241,8 @@ EOF
_rwx_code_constants="$(rwx_code_parse "constants")"
# parse functions
_rwx_code_functions="$(rwx_code_parse "functions")"
# parse tasks
_rwx_code_tasks="$(rwx_code_parse "tasks")"
# parse variables
_rwx_code_variables="$(rwx_code_parse "variables")"
}