diff options
-rw-r--r-- | lib/cmd.sh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -25,10 +25,20 @@ use output use locale CMDS='@cmds@' +cmds=' ' running_cmd= running_cmd_clean= +register_cmd() +{ + local cmd="${1}" + shift 1 + + cmds="${cmds}${cmd} " + return 0 +} + load_cmds() { local cmd= |