summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cmd.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/cmd.sh b/lib/cmd.sh
index 208e2fa..866896e 100644
--- a/lib/cmd.sh
+++ b/lib/cmd.sh
@@ -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=