maton github pr search
maton github pr search [<query>...] [flags]
Searches /search/issues with q=is:pr. Positional args become free-text keywords; flags map to qualifiers (author:, assignee:, base:, etc.). Pass ‘@me’ to –author or –assignee for the authenticated user.
Unlike ‘pr list’, this hits the search index instead of a single repo’s pull stream, so –repo is optional. Without –repo or –owner the search runs across all of GitHub.
Options
-a,--assignee <string>- Filter by assignee ('@me' for self)
-A,--author <string>- Filter by author ('@me' for self)
-B,--base <string>- Filter on base branch
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--dry-run - Print the request that would be sent without executing it
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-H,--head <string>- Filter on head branch
-q,--jq <expression>- Filter JSON output using a jq expression
-l,--label <string>- Comma-separated label names to match
-
--language <string> - Filter on coding language
-L,--limit <int> (default 30)- Maximum results per page (1-100)
-
--order <string> - Sort direction: asc or desc (only with --sort)
-
--owner <string> - Filter on repository owner (user or org)
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-R,--repo <owner/repo>- Restrict to a single repository in owner/repo form
-
--sort <string> - Sort by: comments, reactions, interactions, created, updated
-s,--state <string>- Filter by state: open or closed
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton github pr search "fix race" --repo maton-ai/cli
$ maton github pr search --owner maton-ai --state open --label bug
$ maton github pr search --author @me --state open
$ maton github pr search --base main --head feature