src search
Run a code search
Options
Name | Description |
---|---|
-display | Limit the number of results that are displayed. Only supported together with stream flag. Statistics continue to report all results |
-dump-requests | Log GraphQL requests and responses to stdout |
-explain-json | Explain the JSON output schema and exit |
-get-curl | Print the curl command for executing this query and exit. (WARNING: Includes printing your access token!) |
-insecure-skip-verify | Skip validation of TLD certificates against trusted chains |
-json | Whether or not to output results as JSON |
-less | Pipe output to `less -R` (only if stdout is terminal, and not json flag) |
-stream | Consume results as stream. Streaming search only supports a subset of flags and parameters: trace, insecure-skip-verify, display, json |
-trace | Log the trace ID for requests |
-user-agent-telemetry | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph |