" Input: {
data_uoa - specific entry that contains recipe for building the command
(any_map_params) - any command line parameters (supported by build_map)
Please note the expected command line syntax for iterable values:
--alpha=val - a single value of any type
--beta,=10,20,30 - a list of values (comma-separated)
--beta:=10:20:30 - a list of values (colon-separated)
--delta:12:18 - a range of integer values (step=1 by default), inclusive of both lower and upper bounds.
--delta:12:18:3 - a range of integer values (step=3), inclusive of both lower and upper bounds.
}
Output: {
return - return code = 0, if successful
> 0, if error
(error) - error text if return > 0
}
Test:
ck gen cmdgen:ls
ck gen cmdgen:ls --mode=long --home
ck gen cmdgen:ls --mode,=long,short,single
ck gen cmdgen:ls --mode=short --files:=$PATH
"