Open zaquestion opened 6 years ago
@zaquestion based on the docs, I don't see how to implement the --line
, --right
or --left
options. Do you have any insights that I might be missing?
@claytonrcarter Haha, I love it! Those are some pretty dreamy options, to be honest I wasn't sure how to implement them when I wrote this issue. I'll check the docs too and see if theres something hiding. The GitLab API sometimes hides things (seemingly part of the same api) in completely different areas in the docs.
I think I found it under "merge request discussions": https://docs.gitlab.com/ee/api/discussions.html#create-new-merge-request-discussion
Ah yeah, its the whole notes != discussions thing. Whenever you comment on a line in a MR its create a discussion (threaded conversation) so makes sense that its in that part of the api.
Help for command
Ref: https://docs.gitlab.com/ce/api/notes.html#merge-requests