" Input: {
cmd - shell command with parameters to run
}
Output: {
output_lines - an array of lines of the command's output
return - return code = 0, if successful
> 0, if error
(error) - error text if return > 0
}
Tests:
ck capture_command_output misc --cmd='ls -1'
"