We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0406104 + 10dadf2 commit abbe40bCopy full SHA for abbe40b
plugins/sentry/sentry_cli.go
@@ -9,10 +9,14 @@ import (
9
10
func SentryCLI() schema.Executable {
11
return schema.Executable{
12
- Name: "Sentry CLI",
13
- Runs: []string{"sentry-cli"},
14
- DocsURL: sdk.URL("https://docs.sentry.io/product/cli/"),
15
- NeedsAuth: needsauth.NotForHelpOrVersion(),
+ Name: "Sentry CLI",
+ Runs: []string{"sentry-cli"},
+ DocsURL: sdk.URL("https://docs.sentry.io/product/cli/"),
+ NeedsAuth: needsauth.IfAll(
16
+ needsauth.NotForHelpOrVersion(),
17
+ needsauth.NotWhenContainsArgs("--auth-token"),
18
+ needsauth.NotWhenContainsArgs("--api-key"),
19
+ ),
20
Uses: []schema.CredentialUsage{
21
{
22
Name: credname.AuthToken,
0 commit comments