Skip to content

Commit cde507c

Browse files
authored
1 parent 220d797 commit cde507c

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/cli/index.mdx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# CLI
22

3-
<p className="subtitle">Interact with Sourcegraph from the command line</p>
3+
<p className="subtitle">Interact with Sourcegraph and Cody from the command line interface.</p>
44

55
`src` is a command line interface to Sourcegraph that allows you to <a href="/code-search">search code</a> from your terminal, <a href="/batch-changes">create and apply batch changes</a>, and <a href="/admin">manage and administrate repositories, users, and more</a>.
66

7-
## Getting Started
7+
[Cody CLI](/cody/clients/install-cli) is the same technology that powers the Cody IDE plugins but available from the command-line. Use Cody CLI for ad-hoc exploration in your terminal or as part of scripts to automate your workflows.
8+
9+
## Quick Links
810

911
<QuickLinks>
10-
<QuickLink title="Quickstart" icon='lightbulb' href="./cli/quickstart" description="Learn about src in minutes." />
11-
<QuickLink title="Command reference" icon='installation' href="./cli/references" description="Check the commands available in src and their flags." />
12+
<QuickLink title="Sourcegraph src CLI" icon='lightbulb' href="./cli/quickstart" description="A quickstart tutorial to learn about the src CLI in minutes." />
13+
<QuickLink title="Cody CLI" icon='installation' href="/cody/clients/install-cli" description="Learn how to use Cody with the command line interface ecosystem." />
14+
<QuickLink title="Command reference" icon='theming' href="./cli/references" description="Check the commands available in the src CLI and their flags." />
1215
<QuickLink title="Create a batch change" icon='presets' href="/batch-changes/quickstart" description="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." />
1316
</QuickLinks>

src/data/navigation.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export const navigation: NavigationItem[] = [
3737
{ title: "Cody for VS Code", href: "/cody/clients/install-vscode", },
3838
{ title: "Cody for JetBrains", href: "/cody/clients/install-jetbrains", },
3939
{ title: "Cody for Web", href: "/cody/clients/cody-with-sourcegraph", },
40-
{ title: "Cody for CLI", href: "/cody/clients/install-cli", },
4140
{ title: "Cody for Enterprise", href: "/cody/clients/enable-cody-enterprise", },
4241
{ title: "Model Configuration", href: "/cody/clients/model-configuration", },
4342
]
@@ -280,13 +279,15 @@ export const navigation: NavigationItem[] = [
280279
separator: "CLI & API",
281280
topics: [
282281
{
283-
title: "Sourcegraph CLI",
282+
title: "Sourcegraph & Cody CLI",
284283
href: "/cli",
285284
sections: [
286285
{ title: "Quickstart", href: "/cli/quickstart" },
287286
{ title: "Explanations", href: "/cli/explanations" },
288287
{ title: "How-to Guides", href: "/cli/how-tos" },
289288
{ title: "References", href: "/cli/references" },
289+
{ title: "Cody CLI", href: "/cody/clients/install-cli", },
290+
290291
],
291292
},
292293
{

0 commit comments

Comments
 (0)