`src repos list` - Sourcegraph docs

NameDescriptionDefault Value
-clonedInclude cloned repositories.true
-descendingWhether or not results should be in descending order.false
-dump-requestsLog GraphQL requests and responses to stdoutfalse
-fFormat for the output, using the syntax of Go package text/template. (e.g. "{{.ID}}: {{.Name}}") or "{{.|json}}"){{.Name}}
-firstReturns the first n repositories from the list. (use -1 for unlimited)1000
-get-curlPrint the curl command for executing this query and exit (WARNING: includes printing your access token!)false
-indexedInclude repositories that have a text search index.true
-insecure-skip-verifySkip validation of TLS certificates against trusted chainsfalse
-names-without-hostWhether or not repository names should be printed without the hostname (or other first path component). If set, -f is ignored.false
-not-clonedInclude repositories that are not yet cloned and for which cloning is not in progress.true
-not-indexedInclude repositories that do not have a text search index.true
-order-byHow to order the results; possible choices are: "name", "created-at"name
-queryReturns repositories whose names match the query. (e.g. "myorg/")
-traceLog the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracingfalse
-user-agent-telemetryInclude the operating system and architecture in the User-Agent sent with requests to Sourcegraphtrue