ghi icon indicating copy to clipboard operation
ghi copied to clipboard

ghi comment --verbose more verbosely (show previous comments)

Open wkentaro opened this issue 10 years ago • 2 comments

I think it would be useful if ghi comment --verbose writes # comments more verbosely, I mean previous comments on the opened editor. (like below) screen shot 2015-11-09 at 6 01 35 am

Any idea about this?

wkentaro avatar Nov 08 '15 21:11 wkentaro

This seems like a good idea, thanks!

Only thing I'm not keen on is the use of the --verbose flag, as that is normally used to display more detailed instructions/output, rather than more content

AlexChesters avatar Nov 09 '15 09:11 AlexChesters

Or make it: --quote [n] With no number, it'll quote the last comment, with a number, that many comments.

I think the comments should be "block-quoted" with > and then commented out with #. (and any awkward characters should be already escaped).

That way, it's trivial for the user to cut'n'paste.

flatcap avatar Jun 09 '16 11:06 flatcap