def cli(issue, since):
""" View comments on an issue/PR """
output = show_comment(issue.data)
for comment in issue.comments.get(params={"since": since}):
output += '\n' + show_comment(comment)
# echo_via_pager adds a newline, so remove the "extra" newline at the end
click.echo_via_pager(output.rstrip('\r\n'))
评论列表
文章目录