@sourcegraph/cody-cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Cody CLI (experimental)

Cody CLI is an experimental command-line interface for Cody.

Getting started

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:

$ dist/cody commit --dry-run

Use --help for more information.

Development

pnpm run start

Release

To publish a new release of the @sourcegraph/cody-cli package:

  1. Increment the version in package.json.
  2. Commit the version increment.
  3. git tag cli-v$(jq -r .version package.json)
  4. git push --tags
  5. Wait for the cli-release workflow to finish.

Readme

Keywords

none

Package Sidebar

Install

npm i @sourcegraph/cody-cli

Homepage

cody.dev

Weekly Downloads

4

Version

0.0.1

License

Apache-2.0

Unpacked Size

1.09 MB

Total Files

136

Last publish

Collaborators

  • techopsadmin
  • andreeleuterio
  • sourcegraph-bot
  • sqs
  • beyang
  • slimsag