maton github repo search
maton github repo search [<query>...] [flags]
Searches /search/repositories. Positional args become free-text keywords; flags are translated into qualifier syntax (language:go, topic:cli, etc.) and joined into the q= parameter. At least one keyword or qualifier flag must be set.
GitHub’s search API caps results at 1000 across all pages and at 100 per page, so –limit accepts 1-100. For the full qualifier vocabulary, build the q string yourself in the positional args (e.g. ‘maton github repo search foo “size:<5000”’).
Options
-
--archived <string> - Filter by archived state: true or false
-
--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
-q,--jq <expression>- Filter JSON output using a jq expression
-
--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 owner (user or org)
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--sort <string> - Sort by: stars, forks, help-wanted-issues, updated
-
--stars <string> - Filter on number of stars (e.g. ">100", "50..100")
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
-
--topic <string> - Comma-separated topics to match
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 repo search cli shell
$ maton github repo search "vim plugin"
$ maton github repo search --owner microsoft --language go
$ maton github repo search --topic cli,terminal --stars ">100"
$ maton github repo search --owner github --archived false --sort stars