Name: src-cli
Owner: Sourcegraph
Description: Sourcegraph CLI
Created: 2018-04-23 23:50:32.0
Updated: 2018-05-22 22:57:39.0
Pushed: 2018-05-16 07:58:17.0
Homepage: https://sourcegraph.com
Size: 779
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The Sourcegraph CLI provides access to Sourcegraph via a command line interface.
Currently, the src
CLI only provides access to Sourcegraph's GraphQL API. It lets you:
In the future it may provide much more:
-L https://github.com/sourcegraph/src-cli/releases/download/latest/src_darwin_amd64 -o /usr/local/bin/src
d +x /usr/local/bin/src
-L https://github.com/sourcegraph/src-cli/releases/download/latest/src_linux_amd64 -o /usr/local/bin/src
d +x /usr/local/bin/src
Note: Windows support is still rough around the edges, but is available. If you encounter issues, please let us know by filing an issue :)
src.exe
.C:\Program Files\Sourcegraph\src.exe
and add that directory to your system path to access it from any command prompt.Consult src -h
and src api -h
for usage information.
If you want to develop the CLI, you can install it with go get
:
et -u github.com/sourcegraph/src-cli/cmd/src
VERSION=9.9.9 ./release.sh
(replace 9.9.9
with the version you are releasing)