feat: add incident note command
Description
Add incident note
command.
Note: There are two commits in the MR. First commit moves issue subscribe code into issuable directory. We need to avoid squashing commits on merge to keep the commit history for that file.
Related Issues
Resolves #1369 (closed)
How has this been tested?
Using extended tests and the following commands:
glab issue note <ISSUE_ID> -m "Comment"
glab issue note <ISSUE_ID>
glab issue note <ISSUE_ID> -m " "
glab incident note <INCIDENT_ID> -m "Comment"
glab incident note <INCIDENT_ID>
glab incident note <ISSUE_ID>
glab incident note --help
glab incident --help
Screenshots (if appropriate):
issue note inline | issue note editor | issue blank message | incident note on issue | incident note | issue view | incident view |
---|---|---|---|---|---|---|
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