Describe the solution you'd like
Would like to see a right click action for Issue UNIX Command and have it available via the Zowe Explorer API like we have Issue TSO Command and Issue MVS Command.
For zOSMF profile users we could have a check for an SSH profile. Some extenders may have their own APIs to issue UNIX Commands so we would need to consider that as well.
This would be great ! Very often I find myself using Zowe Explorer to edit .sh files and then wanting to run them, and if I could right mouse and "Run as shell script" this would be great. It might want to add parms like "myscript.sh -o options" so maybe there is a general "Issue UNIX command" that can be run against a file that opens a general prompt (and runs the script with cwd inside that directory) and against a file if it detects it's .sh pre-fills the prompt with the file name to allow args to be added
Most helpful comment
This would be great ! Very often I find myself using Zowe Explorer to edit .sh files and then wanting to run them, and if I could right mouse and "Run as shell script" this would be great. It might want to add parms like "myscript.sh -o options" so maybe there is a general "Issue UNIX command" that can be run against a file that opens a general prompt (and runs the script with cwd inside that directory) and against a file if it detects it's .sh pre-fills the prompt with the file name to allow args to be added