cli/pkg/cmd/discussion/client
Max Beizer 90449b5197
Implement gh discussion list command
Add the discussion list command with full support for:
- Listing discussions with state, category, answered, and order filters
- Searching discussions by author and labels (uses Search API)
- Category resolution by slug or name (case-insensitive)
- TTY and non-TTY table output with colored IDs and labels
- JSON output with totalCount envelope
- Web mode (--web) to open discussions in browser
- Pagination for large result sets

Implement List, Search, and ListCategories methods on the
DiscussionClient. List and Search use plain text GraphQL for
flexible variable handling. ListCategories uses safely typed
GraphQL via shurcooL/githubv4.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-03 12:46:28 -05:00
..
client.go Add discussion command group scaffolding 2026-04-02 10:55:48 -05:00
client_impl.go Implement gh discussion list command 2026-04-03 12:46:28 -05:00
client_mock.go Add discussion command group scaffolding 2026-04-02 10:55:48 -05:00
types.go Add discussion command group scaffolding 2026-04-02 10:55:48 -05:00