gitea-tea/cmd/pulls
Norwin 8bb5c15745 Add commands for reviews (#315)
add interactive `tea pr review`

it's amazingly simple

vendor gitea.com/noerw/unidiff-comments

add `tea pr lgtm|reject` shorthands

vendor slimmed down diff parser

review diff: default to true

if users want a shortcut, they can use lgtm or reject subcmds

`tea pr approve`: accept optional comment

Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/315
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-Authored-By: Norwin <noerw@noreply.gitea.io>
Co-Committed-By: Norwin <noerw@noreply.gitea.io>
2020-12-21 23:22:22 +08:00
..
approve.go Add commands for reviews (#315) 2020-12-21 23:22:22 +08:00
checkout.go Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
clean.go replace flag globals, require context for commands (#291) 2020-12-16 01:38:22 +08:00
close.go Implement PR closing and reopening (#304) 2020-12-17 06:47:12 +08:00
create.go Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
edit.go Implement PR closing and reopening (#304) 2020-12-17 06:47:12 +08:00
list.go Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
reject.go Add commands for reviews (#315) 2020-12-21 23:22:22 +08:00
reopen.go Implement PR closing and reopening (#304) 2020-12-17 06:47:12 +08:00
review.go Add commands for reviews (#315) 2020-12-21 23:22:22 +08:00