feat(search): gh-style issue and pull request search tables

search issue and search pr printed rows without a header, showed merged
pull requests as closed and never said that more results exist. They now
show REPO#ID TITLE STATE AUTHOR UPDATED under a context line that counts
the matches and points at the next page, are also search issues and
search prs, take -s -L -A -l -m and @me, and use --until for --before,
which still works. Search results gain an author JSON field.

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-12 00:17:07 +02:00
1 parent e5796af9e9
commit f6a0d18b8a
6 files changed
+120 -58

No files matched your search

-2
View File
@@ -418,8 +418,6 @@ const (
shortsToFix = `
`
examplesToWrite = `
search issue
search pr
`
longsToWrite = `
`