1
0
mirror of https://gitea.com/gitea/tea.git synced 2024-12-04 14:46:40 -05:00
tea/modules/interact
Norwin 32b7b771cc Add tea comment and show comments of issues/pulls (#313)
show comments of PR

TODO: there needs to be a way to force running non-interactively

add `tea comment` to post a comment

add --comments flag, prompt only if necessary

don't prompt if --comments is provided, or output is piped

show comments for issues, add --comments flag

tea comment: print resulting comment

Merge branch 'master' into issue-172-comments

remove debug print statement

unrelated, but better than opening another PR for this ;)

Merge remote-tracking branch 'upstream/master' into issue-172-comments

ret err

fix lint

Co-authored-by: Norwin Roosen <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/313
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-22 00:07:35 +08:00
..
comments.go Add tea comment and show comments of issues/pulls (#313) 2020-12-22 00:07:35 +08:00
issue_create.go Add interactive mode for tea milestone create (#310) 2020-12-18 02:50:07 +08:00
login.go [Refactor] unexport config.Config var & move login tasks to task module (#288) 2020-12-12 21:28:37 +08:00
milestone_create.go Add interactive mode for tea milestone create (#310) 2020-12-18 02:50:07 +08:00
prompts.go Add tea comment and show comments of issues/pulls (#313) 2020-12-22 00:07:35 +08:00
pull_create.go Add interactive mode for tea issue create (#302) 2020-12-15 04:05:31 +08:00
pull_review.go Add commands for reviews (#315) 2020-12-21 23:22:22 +08:00