You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-16Lines changed: 20 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,46 +31,50 @@ claude plugin update glab-discussion@fprochazka-glab-discussion
31
31
32
32
## Usage
33
33
34
-
All subcommands accept `--mr-url` or `--hostname`/`--project`/`--mr-iid` to identify the merge request.
34
+
By default, the MR is auto-detected from the current git branch (via `glab mr view`). Override with `--mr-url` or `--hostname`/`--project`/`--mr-iid`.
35
35
36
36
### read
37
37
38
-
Read and display MR discussions.
38
+
Read MR discussions. Prints to stdout by default, or writes per-thread files with `--dump`. In non-interactive environments (AI agents, piped output), `--dump` is the default.
`--new-line` corresponds to the file on the MR source branch — if the branch is checked out locally, local file line numbers match directly. `--old-line` refers to the target branch version.
60
+
57
61
### diff
58
62
59
-
Show MR diff information.
63
+
Show the MR diff annotated with old/new line numbers, so you know which line numbers to use with `write --new-line` or `--old-line`.
0 commit comments