support positional arguments and single dash for single letter parameter
Some examples
python -c "print('hello')"
ewoks execute '{"nodes":[{"id":"node1", "task_type":"script", "task_identifier":"python"}]}' \
-p "c"="print('hello')"
ls --all
ewoks execute '{"nodes":[{"id":"node1", "task_type":"script", "task_identifier":"ls"}]}' \
-p "0"="--all"
ls -ltrh .
ewoks execute '{"nodes":[{"id":"node1", "task_type":"script", "task_identifier":"ls"}]}' \
-p "0"="-ltrh" \
-p "1"="."
Note: this task type supports scripts, commands and scripts that are commands.
Edited by Wout De Nolf