fjira icon indicating copy to clipboard operation
fjira copied to clipboard

CLI suggestions doesn't work due to issueKey pattern check

Open mk-5 opened this issue 2 years ago • 0 comments

Desktop (please complete the following information):

  • OS: Mac
  • Terminal: iTerm
  • Architecture: APPLE
  • Fjira version: 0.12.1

To Reproduce Steps to reproduce the behavior:

  1. Run command with typo, like fjira jls
  2. See error: Error: invalid issue key format

Expected behavior See cobra suggestion like this:

Error: unknown command "jls" for "fjira"

Did you mean this?
	jql

Run 'fjira --help' for usage.
unknown command "jls" for "fjira"

Did you mean this?
	jql

mk-5 avatar Sep 16 '23 23:09 mk-5