Draft: fix: Return help if using "glab api" with no args
Description
Adding a more friendly response when missing an argument for glab api
. Now it will simply display the help!
Also adding a convenience function in case this pops up in other places.
How has this been tested?
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by Gary Holtz