add: 'cmd' field in 'opts' and 'cmdArguments'

"opts.cmd" makes it possible to set custom command for run. Default: "install".
"cmdArguments" is used to pass arguments in the command run.