-
-
Notifications
You must be signed in to change notification settings - Fork 163
Conversation
Codecov Report
@@ Coverage Diff @@
## trunk #538 +/- ##
==========================================
+ Coverage 60.66% 60.88% +0.21%
==========================================
Files 86 86
Lines 5880 5913 +33
==========================================
+ Hits 3567 3600 +33
Misses 1979 1979
Partials 334 334
Continue to review full report at Codecov.
|
commands/mr/close/mr_close.go
Outdated
Example: heredoc.Doc(` | ||
$ glab mr close 1 | ||
$ glab mr close branch | ||
$ glab mr close username:branch | ||
$ glab mr close branch -R another/repo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also without supplying any argument, it finds the mr for the current branch
Example: heredoc.Doc(` | |
$ glab mr close 1 | |
$ glab mr close branch | |
$ glab mr close username:branch | |
$ glab mr close branch -R another/repo | |
Example: heredoc.Doc(` | |
$ glab mr close # Closes mr for current branch | |
$ glab mr close 1 | |
$ glab mr close branch | |
$ glab mr close username:branch | |
$ glab mr close branch -R another/repo |
commands/mr/delete/mr_delete.go
Outdated
$ glab delete 123 | ||
$ glab del 123 | ||
$ glab delete branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed the mr
command here:
$ glab delete 123 | |
$ glab del 123 | |
$ glab delete branch | |
$ glab mr delete | |
#=> deletes mr for current branch | |
$ glab mr delete 123 | |
$ glab mr del 123 | |
$ glab mr delete branch |
$ glab mr issues 46 | ||
$ glab mr issues branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ glab mr issues 46 | |
$ glab mr issues branch | |
$ glab mr issues 46 | |
$ glab mr issues branch | |
$ glab mr issues |
@maxice8 For all the |
Updated, thanks for noticing the mistakes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this
Description
Add EXAMPLES section for almost all subcommands
How Has This Been Tested?
bin/glab <subcommand> --help
Types of changes