tea/cmd
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
..
flags replace flag globals, require context for commands (#291) 2020-12-16 01:38:22 +08:00
issues Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
labels Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
login Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
milestones Add interactive mode for `tea milestone create` (#310) 2020-12-18 02:50:07 +08:00
organizations Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
pulls Add commands for reviews (#315) 2020-12-21 23:22:22 +08:00
releases Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
repos Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
times Add more command shorthands (#307) 2020-12-17 00:47:40 +08:00
autocomplete.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
categories.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
issues.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
labels.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
login.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
logout.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
milestones.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
notifications.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
open.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
organizations.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
pulls.go Add commands for reviews (#315) 2020-12-21 23:22:22 +08:00
releases.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
repos.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
times.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00