Sourcegraph DocsSourcegraph Docs
  • Code Intelligence

    • Cody
    • Code Search
  • Code Management

    • Batch Changes
    • Code Navigation
    • Code Monitoring
    • Code Ownership
    • Code Insights
    • Notebooks
  • Platform

    • Sourcegraph Admin
    • Sourcegraph Cloud
    • Integrations
    • Development
  • CLI & API

    • Sourcegraph CLI
    • Sourcegraph GraphQL API
    • Sourcegraph Stream API
  • Help & Support

    • SLAs & Premium Support
    • Tutorials
    • Sourcegraph Accounts
    • Changelog
  1. Docs
  2. cli
  3. references
  4. extensions
  5. copy

src extensions copy

Flags

NameDescriptionDefault Value
-current-userThe current user
-dump-requestsLog GraphQL requests and responses to stdoutfalse
-extension-idThe <extID> in https://sourcegraph.com/extensions/&lt;extID> (e.g. sourcegraph/java)
-get-curlPrint the curl command for executing this query and exit (WARNING: includes printing your access token!)false
-insecure-skip-verifySkip validation of TLS certificates against trusted chainsfalse
-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

Usage

Usage of 'src extensions copy':
  -current-user string
    	The current user
  -dump-requests
    	Log GraphQL requests and responses to stdout
  -extension-id string
    	The <extID> in https://sourcegraph.com/extensions/<extID> (e.g. sourcegraph/java)
  -get-curl
    	Print the curl command for executing this query and exit (WARNING: includes printing your access token!)
  -insecure-skip-verify
    	Skip validation of TLS certificates against trusted chains
  -trace
    	Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing
  -user-agent-telemetry
    	Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true)

Copy an extension from Sourcegraph.com to your private registry.

On this page

  1. `src extensions copy`

    1. Flags
    1. Usage