zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
108 stars 85 forks source link

Fixes for --help-examples #2064

Closed KevinLoesch1 closed 4 months ago

KevinLoesch1 commented 4 months ago

What It Does This fix corrects several commands where the --help-examples fails to include the group in the example. This pull request will fix issues https://github.com/zowe/zowe-cli/issues/1715 and https://github.com/zowe/zowe-cli/issues/1865.

How to Test Issue the --help-examples command at the group level. It should now display the group properly. For example, zowe zos-jobs --help-examples should display the group and command in the examples.

`

Submit the JCL in the USS file "/a/ibmuser/compile.jcl":

  $ zowe zos-jobs submit uss-file "/a/ibmuser/compile.jcl"

`

Review Checklist I certify that I have:

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.07%. Comparing base (e2a25ee) to head (7825c64).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## next #2064 +/- ## ========================================== - Coverage 91.08% 91.07% -0.01% ========================================== Files 638 638 Lines 18825 18828 +3 Branches 3920 3811 -109 ========================================== + Hits 17147 17148 +1 - Misses 1677 1679 +2 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud