diff --git a/Manuals/en/Html/Repository/repository_40.html b/Manuals/en/Html/Repository/repository_40.html index 83ed270..733600c 100644 --- a/Manuals/en/Html/Repository/repository_40.html +++ b/Manuals/en/Html/Repository/repository_40.html @@ -735,10 +735,46 @@ function, and occasionally, farther redefined (by
Initialize function name (FUNCNAM), action name +(ACTIONNAM), and action value (ACTIONVAL) global +variables, using positional parameters passed in $@ variable. +
+The cli_getActionsArguments
function is called from
+cli.sh
function script. The cli_getActionsArguments
+function is call from cli.sh
function script using cli
+function positional parameters (i.e., the positional parameters passed
+as arguments in the command-line) as first function argument.
+
Once command-line positional parameters are accesible,
+cli-getActionsArguments
uses regular expression to retrive
+action variables from first and second argument. The first argument
+defines the value use as function name (FUNCNAM), and the second
+argument defines the value used as action name (ACTIONNAM) and
+action value (ACTIONVAL), respectively.
+
The first argument is a word in lower case. This word specifies the +name of the functionality you want to use (e.g., `render' to +rener images, `manual' to work on documentation, and so on.) +
+The second argument has a long option style (e.g., +`--option=value'). The `--option' represents the action name +(ACTIONNAM), and the characters after the equal sign (`='), +and before the first space character, are considered as the action +value (ACTIONVAL). In order to provide action values with space +characters you need to enclose it with quotes like in +`--option='This is long value''. Generally, action values are +used to specify paths over which the action name acts on. +
+Once action related variables (i.e., FUNCNAM, ACTIONNAM,
+and ACTIONVAL) are defined and validated,
+cli_getActionsArguments
shifts the positional arguments to
+remove the first two arguments passed (i.e., those one used to retrive
+action related variables) and redefine the arguments (ARGUMENTS)
+global variable with the new positional parameters information.
+