We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b454f6 commit 1979055Copy full SHA for 1979055
README.md
@@ -49,12 +49,12 @@ npm install -g @sourcegraph/lsif-typescript
49
npm install # or yarn install
50
lsif-typescript index
51
# From https://github.com/sourcegraph/src-cli/
52
-src lsif upload
+curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o /usr/local/bin/src
53
+chmod +x /usr/local/bin/src
54
+# Upload index with any necessary tokens (shown here using GitHub workflow syntax)
55
+src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
56
```
57
-`src lsif upload` may need additional arguments
-such as `-github-token`, depending on your setup.
-
58
For more examples, see the
59
[Sourcegraph docs](https://docs.sourcegraph.com/code_intelligence/how-to/index_a_typescript_and_javascript_repository).
60
0 commit comments