Skip to content

Commit b8b9f5c

Browse files
authored
Adding emphasis to steps (#873)
<!-- Explain the changes introduced in your PR --> A couple customers are getting confused and using both env vars and cody auth login to authenticate with the CLI leading to undesirable effects. This change adds emphasis for customers getting started with CLI ## Pull Request approval You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel.
1 parent aaa1d78 commit b8b9f5c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/cody/clients/install-cli.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ export SRC_ENDPOINT=ENDPOINT
9898
export SRC_ACCESS_TOKEN=ACCESS_TOKEN
9999
cody auth login # stores the access token securely
100100
```
101-
You don't need to export `SRC_ENDPOINT` or `SRC_ACCESS_TOKEN` after running `cody auth login`.
102-
Subsequent command invocation will use the stored access token.
101+
<Callout type="info">You don't need to export `SRC_ENDPOINT` or `SRC_ACCESS_TOKEN` after running `cody auth login`.
102+
Subsequent command invocation will use the stored access token.</Callout>
103103
</Tab>
104104
</Tabs>
105105

@@ -112,7 +112,8 @@ cody auth whoami
112112

113113
## Authenticate with only environment variables
114114

115-
Skip this step if you have already authenticated with the `cody auth login` command.
115+
**Skip this step if you have already authenticated with the `cody auth login` command.**
116+
116117

117118
If you prefer not to let Cody CLI store your access token, you can also pass the endpoint URL and access token through the environment variables `SRC_ENDPOINT` and `SRC_ACCESS_TOKEN`.
118119

0 commit comments

Comments
 (0)