You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dfe9146
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ For quick end-to-end CLI sanity checks against a live Sourcegraph instance, run:
62
62
63
63
This script intentionally uses your currently exported `SRC_*` environment variables, is not hooked up to CI, and is meant for manual regression checks (for example, to catch issues like `src users list` failing unexpectedly).
64
64
65
-
We adhere to the [general Sourcegraph principles for testing](https://docs.sourcegraph.com/dev/background-information/testing_principles), as well as [the Go specific directions](https://docs.sourcegraph.com/dev/background-information/languages/testing_go_code), at least to the extent they apply to a standalone tool like `src`.
65
+
We adhere to the [general Sourcegraph principles for testing](https://sourcegraph.com/docs/dev/background-information/testing_principles), as well as [the Go specific directions](https://sourcegraph.com/docs/dev/background-information/languages/testing_go_code), at least to the extent they apply to a standalone tool like `src`.
-**Manage & administrate** repositories, users, and more
12
12
-**Easily convert src-CLI commands to equivalent curl commands**, just add --get-curl!
13
13
@@ -173,7 +173,7 @@ Is your Sourcegraph instance behind a custom auth proxy? See [auth proxy configu
173
173
-`src auth` - print the active authentication token or authorization header
174
174
-`src search` - perform searches and get results in your terminal or as JSON
175
175
-`src api` - run Sourcegraph GraphQL API requests
176
-
-`src batch` - execute and manage [batch changes](https://docs.sourcegraph.com/batch_changes)
176
+
-`src batch` - execute and manage [batch changes](https://sourcegraph.com/docs/batch_changes)
177
177
-`src repos` - manage repositories
178
178
-`src users` - manage users
179
179
-`src orgs` - manages organization
@@ -185,7 +185,7 @@ Is your Sourcegraph instance behind a custom auth proxy? See [auth proxy configu
185
185
-`src version` - check version and guaranteed-compatible version for your Sourcegraph instance
186
186
187
187
Run `src -h` and `src <subcommand> -h` for more detailed usage information.
188
-
You can also read the [usage docs for the latest version of `src-cli`](https://docs.sourcegraph.com/cli/references) online.
188
+
You can also read the [usage docs for the latest version of `src-cli`](https://sourcegraph.com/docs/cli/references) online.
189
189
190
190
#### Optional: Renaming `src`
191
191
@@ -211,7 +211,7 @@ src-cli/3.21.10 linux amd64
211
211
212
212
To disable this and _only_ send the version, you can set `-user-agent-telemetry=false` for a single command, or set the `SRC_DISABLE_USER_AGENT_TELEMETRY` environment variable to any non-blank string.
213
213
214
-
As with [other Sourcegraph telemetry](https://docs.sourcegraph.com/dev/background-information/telemetry), any collected data is only sent to Sourcegraph.com in aggregate form.
214
+
As with [other Sourcegraph telemetry](https://sourcegraph.com/docs/dev/background-information/telemetry), any collected data is only sent to Sourcegraph.com in aggregate form.
dump: flagSet.Bool("dump-requests", false, "Log GraphQL requests and responses to stdout"),
44
44
getCurl: flagSet.Bool("get-curl", false, "Print the curl command for executing this query and exit (WARNING: includes printing your access token!)"),
45
-
trace: flagSet.Bool("trace", false, "Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing"),
45
+
trace: flagSet.Bool("trace", false, "Log the trace ID for requests. See https://sourcegraph.com/docs/admin/observability/tracing"),
46
46
insecureSkipVerify: flagSet.Bool("insecure-skip-verify", false, "Skip validation of TLS certificates against trusted chains"),
47
47
userAgentTelemetry: flagSet.Bool("user-agent-telemetry", defaultUserAgentTelemetry(), "Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph"),
block:=out.Block(output.Line(output.EmojiLightbulb, output.StyleSuggestion, "The troubleshooting documentation can help to narrow down the cause of the errors:"))
{"dump-requests", false, "Log GraphQL requests and responses to stdout"},
18
18
{"get-curl", false, "Print the curl command for executing this query and exit (WARNING: includes printing your access token!)"},
19
-
{"trace", false, "Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing"},
19
+
{"trace", false, "Log the trace ID for requests. See https://sourcegraph.com/docs/admin/observability/tracing"},
20
20
{"insecure-skip-verify", false, "Skip validation of TLS certificates against trusted chains"},
21
21
{"user-agent-telemetry", defaultAPIUserAgentTelemetry(), "Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph"},
0 commit comments