CLI
Interact with Sourcegraph from the command line
src
is a command line interface to Sourcegraph that allows you to search code from your terminal, create and apply batch changes, and manage and administrate repositories, users, and more.
Getting started
New to
Run through the quickstart guide and set up
Check the commands available in
src
?
Run through the quickstart guide and set up
src
in minutes.
Command reference
Check the commands available in
src
and their flags.
Create a batch change
src
is the gateway to Sourcegraph's batch change functionality: find out how to create a batch change with it in less than 10 minutes.
Explanations
How-tos
- Creating an access token
- Revoking an access token
- Use 1Password to securely authenticate the Sourcegraph CLI