src api
Sourcegraph API Access
Options
| Name | Description | 
|---|---|
| -get-curl | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | 
| -dump-requests | Log GraphQL requests and responses to stdout | 
| -insecure-skip-verify | Skip validation of TLS certificates against trusted chains | 
| -query | GraphQL query to execute, e.g. ‘query { currentUser { username } }’ (stdin otherwise) | 
| -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 | 
| -vars | GraphQL query variables to include as JSON string, e.g. ‘{“var”: “val”, “var2”: “val2”}’ |