Cody CLI (experimental)
npm install @sourcegraph/cody-cliCody CLI is an experimental command-line interface for Cody.
``shell`
pnpm run build
Then ask a question:
$ export SRC_ACCESS_TOKEN=sgp_aaaaaaaaaaaaaaaa # Sourcegraph access token
$ dist/codyā What do you want to ask Cody? ⦠Where is data stored?
Data in Sourcegraph is stored in the following places:
...
Or have it write a commit message for your Git changes:
`shell`
$ dist/cody commit --dry-run
Use --help for more information.
`shell`
pnpm run start
To publish a new release of the @sourcegraph/cody-cli package:
1. Increment the version in package.json.git tag cli-v$(jq -r .version package.json)
1. Commit the version increment.
1. git push --tags`
1.
1. Wait for the cli-release workflow to finish.