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
{"dump-requests", false, "Log GraphQL requests and responses to stdout"},
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"},
20
+
{"insecure-skip-verify", false, "Skip validation of TLS certificates against trusted chains"},
21
+
{"user-agent-telemetry", defaultAPIUserAgentTelemetry(), "Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph"},
22
+
}
23
+
24
+
flags:=append([]cli.Flag{}, baseFlags...)
25
+
for_, item:=rangeflagTable {
26
+
flags=append(flags, &cli.BoolFlag{
27
+
Name: item.name,
28
+
Value: item.value,
29
+
Usage: item.text,
30
+
})
31
+
}
32
+
33
+
returnflags
34
+
}
35
+
36
+
// APIFlagsFromCmd reads the shared API-related flags from a command into api.Flags
0 commit comments