gt-search-repo1
Search repositories
Usage
gt search
repo
[<query> ...]
[flags]
Overview
Search the names and descriptions of repositories, or their topics with --topic.
Json fields
actions_enabled, archived, clone_url, default_branch, description, empty, fork, forks_count, full_name, id, mirror, mirror_interval, name, open_issues_count, open_pr_count, original_url, parent, private, ssh_url, stars_count, template, topics, updated_at, url, website
Options
--archived[=false]
Only archived repositories (use =false for active)
-h, --help[=false]
help for repo
-L, --limit=30
Maximum number of results (1..1000)
--order="asc"
Sort order (requires --sort) {asc|desc}
--owner=""
Only repositories of this user or organization
--page=1
Result page
--private[=false]
Only private repositories (use =false for public)
--sort=""
Sort by (default: alphabetical, your own repositories first) {alpha|created|updated|size|id}
--topic[=false]
Match repository topics
--type=""
Only repositories of this kind {fork|source|mirror}
Options inherited from parent commands
--csv[=""]
Output CSV with the specified comma-separated fields, or all fields
--debug[=false]
Log the method, URL, status, and duration of each HTTP request to stderr
--host=""
Gitea instance URL, including any base path
--interactive[=false]
Allow prompts with machine output
-q, --jq=""
Filter JSON output using a jq expression; implies --json
--json[=""]
Output JSON with the specified comma-separated fields, or all fields
--no-input[=false]
Disable prompts and implicit editor/browser interactions
--sudo=""
Perform API requests as this user (requires an administrator account)
--user=""
Account name on the selected instance
Examples
# Search repositories about a CLI $ gt search repo command line # Search the archived repositories of an organization $ gt search repo --owner acme --archived # Search by topic, most recently updated first $ gt search repo go --topic --sort updated --order desc