@@ -32,7 +32,6 @@ function cli {
|
|
32
32
|
local FUNCDIR=''
|
33
33
|
local FUNCDIRNAM=''
|
34
34
|
local FUNCSCRIPT=''
|
35
|
-
local FUNCCONFIG=''
|
36
35
|
local ARGUMENTS=''
|
37
36
|
|
38
37
|
# Initialize default value to filter flag. The filter flag
|
@@ -88,11 +87,6 @@ function cli {
|
|
88
87
|
# Check function script execution rights.
|
89
88
|
cli_checkFiles "${FUNCSCRIPT}" --execution
|
90
89
|
|
91
|
-
# Define function configuration directory. The function
|
92
|
-
# configuration directory is used to store functionality's
|
93
|
-
# related files.
|
94
|
-
FUNCCONFIG=${FUNCDIR}/${FUNCDIRNAM}/Config
|
95
|
-
|
96
90
|
# Remove the first argument passed to centos-art.sh command-line
|
97
91
|
# in order to build optional arguments inside functionalities. We
|
98
92
|
# start counting from second argument (inclusive) on.
|
@@ -113,4 +107,7 @@ function cli {
|
|
113
107
|
# function calling after all variables and arguments definitions.
|
114
108
|
cli_getFunctions "${FUNCDIR}/${FUNCDIRNAM}"
|
115
109
|
|
110
|
+
# Execute function.
|
111
|
+
eval $FUNCNAM
|
112
|
+
|
116
113
|
}
|