Disable shell completions for generated commands (#483)

## Changes

Disable shell completions for generated commands.

Default completion behavior completes local files which never makes
sense.

Automatic contextual completion of required arguments would be super
powerful but a lot of work to get right. Until then, we could do manual
completion functions in `overrides.go` as needed.

This fixes #374.

## Tests

Confirmed manually that commands no longer complete local files.
This commit is contained in:
Pieter Noordhuis 2023-06-15 16:56:36 +02:00 committed by GitHub
parent c080fc67c9
commit dd92b3f989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
73 changed files with 1256 additions and 29 deletions

View File

@ -185,6 +185,9 @@ var {{.CamelName}}Cmd = &cobra.Command{
{{template "method-call" .}} {{template "method-call" .}}
{{end -}} {{end -}}
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
{{end}} {{end}}
// end service {{.Name}}{{end}} // end service {{.Name}}{{end}}

View File

@ -75,6 +75,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -125,6 +128,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -173,6 +179,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service AccountAccessControl // end service AccountAccessControl

View File

@ -72,6 +72,9 @@ var downloadCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service BillableUsage // end service BillableUsage

View File

@ -67,6 +67,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -125,6 +128,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -184,6 +190,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -212,6 +221,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -258,6 +270,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Budgets // end service Budgets

View File

@ -81,6 +81,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -141,6 +144,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -200,6 +206,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -228,6 +237,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Credentials // end service Credentials

View File

@ -76,6 +76,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -125,6 +128,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -173,6 +179,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -201,6 +210,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -253,6 +265,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service CustomAppIntegration // end service CustomAppIntegration

View File

@ -97,6 +97,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -146,6 +149,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -208,6 +214,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -247,6 +256,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service EncryptionKeys // end service EncryptionKeys

View File

@ -81,6 +81,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -139,6 +142,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -197,6 +203,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -252,6 +261,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start patch command // start patch command
@ -312,6 +324,9 @@ var patchCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -378,6 +393,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service AccountGroups // end service AccountGroups

View File

@ -102,6 +102,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -160,6 +163,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -218,6 +224,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -245,6 +254,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start replace command // start replace command
@ -310,6 +322,9 @@ var replaceCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -379,6 +394,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service AccountIpAccessLists // end service AccountIpAccessLists

View File

@ -152,6 +152,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -211,6 +214,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -263,6 +269,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start patch-status command // start patch-status command
@ -319,6 +328,9 @@ var patchStatusCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service LogDelivery // end service LogDelivery

View File

@ -74,6 +74,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -128,6 +131,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -183,6 +189,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -233,6 +242,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -289,6 +301,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service AccountMetastoreAssignments // end service AccountMetastoreAssignments

View File

@ -68,6 +68,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -117,6 +120,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -166,6 +172,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -195,6 +204,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -246,6 +258,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service AccountMetastores // end service AccountMetastores

View File

@ -76,6 +76,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -139,6 +142,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -198,6 +204,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -229,6 +238,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Networks // end service Networks

View File

@ -78,6 +78,9 @@ var createCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -108,6 +111,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service OAuthEnrollment // end service OAuthEnrollment

View File

@ -86,6 +86,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -151,6 +154,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -216,6 +222,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -244,6 +253,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start replace command // start replace command
@ -318,6 +330,9 @@ var replaceCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service PrivateAccess // end service PrivateAccess

View File

@ -76,6 +76,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -125,6 +128,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -173,6 +179,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -201,6 +210,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -252,6 +264,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service PublishedAppIntegration // end service PublishedAppIntegration

View File

@ -82,6 +82,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -134,6 +137,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -187,6 +193,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service ServicePrincipalSecrets // end service ServicePrincipalSecrets

View File

@ -80,6 +80,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -138,6 +141,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -197,6 +203,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -252,6 +261,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start patch command // start patch command
@ -313,6 +325,9 @@ var patchCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -382,6 +397,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service AccountServicePrincipals // end service AccountServicePrincipals

View File

@ -66,6 +66,9 @@ var readPersonalComputeSettingCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service AccountSettings // end service AccountSettings

View File

@ -73,6 +73,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -123,6 +126,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -174,6 +180,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -223,6 +232,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -276,6 +288,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service AccountStorageCredentials // end service AccountStorageCredentials

View File

@ -78,6 +78,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -137,6 +140,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -195,6 +201,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -223,6 +232,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Storage // end service Storage

View File

@ -88,6 +88,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -147,6 +150,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -205,6 +211,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -260,6 +269,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start patch command // start patch command
@ -321,6 +333,9 @@ var patchCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -390,6 +405,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service AccountUsers // end service AccountUsers

View File

@ -83,6 +83,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -149,6 +152,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -211,6 +217,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -243,6 +252,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service VpcEndpoints // end service VpcEndpoints

View File

@ -76,6 +76,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -127,6 +130,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -179,6 +185,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -232,6 +241,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service WorkspaceAssignment // end service WorkspaceAssignment

View File

@ -113,6 +113,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -181,6 +184,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -255,6 +261,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -286,6 +295,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -481,6 +493,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Workspaces // end service Workspaces

View File

@ -74,6 +74,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -134,6 +137,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -192,6 +198,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -219,6 +228,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -268,6 +280,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Alerts // end service Alerts

View File

@ -79,6 +79,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -130,6 +133,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -180,6 +186,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -211,6 +220,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -267,6 +279,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Catalogs // end service Catalogs

View File

@ -96,6 +96,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -155,6 +158,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start edit command // start edit command
@ -211,6 +217,9 @@ var editCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -269,6 +278,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -319,6 +331,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service ClusterPolicies // end service ClusterPolicies

View File

@ -18,26 +18,26 @@ var Cmd = &cobra.Command{
Short: `The Clusters API allows you to create, start, edit, list, terminate, and delete clusters.`, Short: `The Clusters API allows you to create, start, edit, list, terminate, and delete clusters.`,
Long: `The Clusters API allows you to create, start, edit, list, terminate, and Long: `The Clusters API allows you to create, start, edit, list, terminate, and
delete clusters. delete clusters.
Databricks maps cluster node instance types to compute units known as DBUs. Databricks maps cluster node instance types to compute units known as DBUs.
See the instance type pricing page for a list of the supported instance types See the instance type pricing page for a list of the supported instance types
and their corresponding DBUs. and their corresponding DBUs.
A Databricks cluster is a set of computation resources and configurations on A Databricks cluster is a set of computation resources and configurations on
which you run data engineering, data science, and data analytics workloads, which you run data engineering, data science, and data analytics workloads,
such as production ETL pipelines, streaming analytics, ad-hoc analytics, and such as production ETL pipelines, streaming analytics, ad-hoc analytics, and
machine learning. machine learning.
You run these workloads as a set of commands in a notebook or as an automated You run these workloads as a set of commands in a notebook or as an automated
job. Databricks makes a distinction between all-purpose clusters and job job. Databricks makes a distinction between all-purpose clusters and job
clusters. You use all-purpose clusters to analyze data collaboratively using clusters. You use all-purpose clusters to analyze data collaboratively using
interactive notebooks. You use job clusters to run fast and robust automated interactive notebooks. You use job clusters to run fast and robust automated
jobs. jobs.
You can create an all-purpose cluster using the UI, CLI, or REST API. You can You can create an all-purpose cluster using the UI, CLI, or REST API. You can
manually terminate and restart an all-purpose cluster. Multiple users can manually terminate and restart an all-purpose cluster. Multiple users can
share such clusters to do collaborative interactive analysis. share such clusters to do collaborative interactive analysis.
IMPORTANT: Databricks retains cluster configuration information for up to 200 IMPORTANT: Databricks retains cluster configuration information for up to 200
all-purpose clusters terminated in the last 30 days and up to 30 job clusters all-purpose clusters terminated in the last 30 days and up to 30 job clusters
recently terminated by the job scheduler. To keep an all-purpose cluster recently terminated by the job scheduler. To keep an all-purpose cluster
@ -64,7 +64,7 @@ var changeOwnerCmd = &cobra.Command{
Use: "change-owner CLUSTER_ID OWNER_USERNAME", Use: "change-owner CLUSTER_ID OWNER_USERNAME",
Short: `Change cluster owner.`, Short: `Change cluster owner.`,
Long: `Change cluster owner. Long: `Change cluster owner.
Change the owner of the cluster. You must be an admin to perform this Change the owner of the cluster. You must be an admin to perform this
operation.`, operation.`,
@ -96,6 +96,9 @@ var changeOwnerCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start create command // start create command
@ -144,17 +147,17 @@ var createCmd = &cobra.Command{
Use: "create SPARK_VERSION", Use: "create SPARK_VERSION",
Short: `Create new cluster.`, Short: `Create new cluster.`,
Long: `Create new cluster. Long: `Create new cluster.
Creates a new Spark cluster. This method will acquire new instances from the Creates a new Spark cluster. This method will acquire new instances from the
cloud provider if necessary. This method is asynchronous; the returned cloud provider if necessary. This method is asynchronous; the returned
cluster_id can be used to poll the cluster status. When this method returns, cluster_id can be used to poll the cluster status. When this method returns,
the cluster will be in a PENDING state. The cluster will be usable once it the cluster will be in a PENDING state. The cluster will be usable once it
enters a RUNNING state. enters a RUNNING state.
Note: Databricks may not be able to acquire some of the requested nodes, due Note: Databricks may not be able to acquire some of the requested nodes, due
to cloud provider limitations (account limits, spot price, etc.) or transient to cloud provider limitations (account limits, spot price, etc.) or transient
network issues. network issues.
If Databricks acquires at least 85% of the requested on-demand nodes, cluster If Databricks acquires at least 85% of the requested on-demand nodes, cluster
creation will succeed. Otherwise the cluster will terminate with an creation will succeed. Otherwise the cluster will terminate with an
informative error message.`, informative error message.`,
@ -198,6 +201,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -221,7 +227,7 @@ var deleteCmd = &cobra.Command{
Use: "delete CLUSTER_ID", Use: "delete CLUSTER_ID",
Short: `Terminate cluster.`, Short: `Terminate cluster.`,
Long: `Terminate cluster. Long: `Terminate cluster.
Terminates the Spark cluster with the specified ID. The cluster is removed Terminates the Spark cluster with the specified ID. The cluster is removed
asynchronously. Once the termination has completed, the cluster will be in a asynchronously. Once the termination has completed, the cluster will be in a
TERMINATED state. If the cluster is already in a TERMINATING or TERMINATED state. If the cluster is already in a TERMINATING or
@ -276,6 +282,9 @@ var deleteCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start edit command // start edit command
@ -327,18 +336,18 @@ var editCmd = &cobra.Command{
Use: "edit CLUSTER_ID SPARK_VERSION", Use: "edit CLUSTER_ID SPARK_VERSION",
Short: `Update cluster configuration.`, Short: `Update cluster configuration.`,
Long: `Update cluster configuration. Long: `Update cluster configuration.
Updates the configuration of a cluster to match the provided attributes and Updates the configuration of a cluster to match the provided attributes and
size. A cluster can be updated if it is in a RUNNING or TERMINATED state. size. A cluster can be updated if it is in a RUNNING or TERMINATED state.
If a cluster is updated while in a RUNNING state, it will be restarted so If a cluster is updated while in a RUNNING state, it will be restarted so
that the new attributes can take effect. that the new attributes can take effect.
If a cluster is updated while in a TERMINATED state, it will remain If a cluster is updated while in a TERMINATED state, it will remain
TERMINATED. The next time it is started using the clusters/start API, the TERMINATED. The next time it is started using the clusters/start API, the
new attributes will take effect. Any attempt to update a cluster in any other new attributes will take effect. Any attempt to update a cluster in any other
state will be rejected with an INVALID_STATE error code. state will be rejected with an INVALID_STATE error code.
Clusters created by the Databricks Jobs service cannot be edited.`, Clusters created by the Databricks Jobs service cannot be edited.`,
Annotations: map[string]string{}, Annotations: map[string]string{},
@ -381,6 +390,9 @@ var editCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start events command // start events command
@ -406,7 +418,7 @@ var eventsCmd = &cobra.Command{
Use: "events CLUSTER_ID", Use: "events CLUSTER_ID",
Short: `List cluster activity events.`, Short: `List cluster activity events.`,
Long: `List cluster activity events. Long: `List cluster activity events.
Retrieves a list of events about the activity of a cluster. This API is Retrieves a list of events about the activity of a cluster. This API is
paginated. If there are more events to read, the response includes all the paginated. If there are more events to read, the response includes all the
nparameters necessary to request the next page of events.`, nparameters necessary to request the next page of events.`,
@ -448,6 +460,9 @@ var eventsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -471,7 +486,7 @@ var getCmd = &cobra.Command{
Use: "get CLUSTER_ID", Use: "get CLUSTER_ID",
Short: `Get cluster info.`, Short: `Get cluster info.`,
Long: `Get cluster info. Long: `Get cluster info.
Retrieves the information for a cluster given its identifier. Clusters can be Retrieves the information for a cluster given its identifier. Clusters can be
described while they are running, or up to 60 days after they are terminated.`, described while they are running, or up to 60 days after they are terminated.`,
@ -512,6 +527,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -532,11 +550,11 @@ var listCmd = &cobra.Command{
Use: "list", Use: "list",
Short: `List all clusters.`, Short: `List all clusters.`,
Long: `List all clusters. Long: `List all clusters.
Return information about all pinned clusters, active clusters, up to 200 of Return information about all pinned clusters, active clusters, up to 200 of
the most recently terminated all-purpose clusters in the past 30 days, and up the most recently terminated all-purpose clusters in the past 30 days, and up
to 30 of the most recently terminated job clusters in the past 30 days. to 30 of the most recently terminated job clusters in the past 30 days.
For example, if there is 1 pinned cluster, 4 active clusters, 45 terminated For example, if there is 1 pinned cluster, 4 active clusters, 45 terminated
all-purpose clusters in the past 30 days, and 50 terminated job clusters in all-purpose clusters in the past 30 days, and 50 terminated job clusters in
the past 30 days, then this API returns the 1 pinned cluster, 4 active the past 30 days, then this API returns the 1 pinned cluster, 4 active
@ -569,6 +587,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-node-types command // start list-node-types command
@ -582,7 +603,7 @@ var listNodeTypesCmd = &cobra.Command{
Use: "list-node-types", Use: "list-node-types",
Short: `List node types.`, Short: `List node types.`,
Long: `List node types. Long: `List node types.
Returns a list of supported Spark node types. These node types can be used to Returns a list of supported Spark node types. These node types can be used to
launch a cluster.`, launch a cluster.`,
@ -597,6 +618,9 @@ var listNodeTypesCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-zones command // start list-zones command
@ -610,7 +634,7 @@ var listZonesCmd = &cobra.Command{
Use: "list-zones", Use: "list-zones",
Short: `List availability zones.`, Short: `List availability zones.`,
Long: `List availability zones. Long: `List availability zones.
Returns a list of availability zones where clusters can be created in (For Returns a list of availability zones where clusters can be created in (For
example, us-west-2a). These zones can be used to launch a cluster.`, example, us-west-2a). These zones can be used to launch a cluster.`,
@ -625,6 +649,9 @@ var listZonesCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start permanent-delete command // start permanent-delete command
@ -643,10 +670,10 @@ var permanentDeleteCmd = &cobra.Command{
Use: "permanent-delete CLUSTER_ID", Use: "permanent-delete CLUSTER_ID",
Short: `Permanently delete cluster.`, Short: `Permanently delete cluster.`,
Long: `Permanently delete cluster. Long: `Permanently delete cluster.
Permanently deletes a Spark cluster. This cluster is terminated and resources Permanently deletes a Spark cluster. This cluster is terminated and resources
are asynchronously removed. are asynchronously removed.
In addition, users will no longer see permanently deleted clusters in the In addition, users will no longer see permanently deleted clusters in the
cluster list, and API users can no longer perform any action on permanently cluster list, and API users can no longer perform any action on permanently
deleted clusters.`, deleted clusters.`,
@ -688,6 +715,9 @@ var permanentDeleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start pin command // start pin command
@ -706,7 +736,7 @@ var pinCmd = &cobra.Command{
Use: "pin CLUSTER_ID", Use: "pin CLUSTER_ID",
Short: `Pin cluster.`, Short: `Pin cluster.`,
Long: `Pin cluster. Long: `Pin cluster.
Pinning a cluster ensures that the cluster will always be returned by the Pinning a cluster ensures that the cluster will always be returned by the
ListClusters API. Pinning a cluster that is already pinned will have no ListClusters API. Pinning a cluster that is already pinned will have no
effect. This API can only be called by workspace admins.`, effect. This API can only be called by workspace admins.`,
@ -748,6 +778,9 @@ var pinCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start resize command // start resize command
@ -774,7 +807,7 @@ var resizeCmd = &cobra.Command{
Use: "resize CLUSTER_ID", Use: "resize CLUSTER_ID",
Short: `Resize cluster.`, Short: `Resize cluster.`,
Long: `Resize cluster. Long: `Resize cluster.
Resizes a cluster to have a desired number of workers. This will fail unless Resizes a cluster to have a desired number of workers. This will fail unless
the cluster is in a RUNNING state.`, the cluster is in a RUNNING state.`,
@ -827,6 +860,9 @@ var resizeCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start restart command // start restart command
@ -852,7 +888,7 @@ var restartCmd = &cobra.Command{
Use: "restart CLUSTER_ID", Use: "restart CLUSTER_ID",
Short: `Restart cluster.`, Short: `Restart cluster.`,
Long: `Restart cluster. Long: `Restart cluster.
Restarts a Spark cluster with the supplied ID. If the cluster is not currently Restarts a Spark cluster with the supplied ID. If the cluster is not currently
in a RUNNING state, nothing will happen.`, in a RUNNING state, nothing will happen.`,
@ -905,6 +941,9 @@ var restartCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start spark-versions command // start spark-versions command
@ -918,7 +957,7 @@ var sparkVersionsCmd = &cobra.Command{
Use: "spark-versions", Use: "spark-versions",
Short: `List available Spark versions.`, Short: `List available Spark versions.`,
Long: `List available Spark versions. Long: `List available Spark versions.
Returns the list of available Spark versions. These versions can be used to Returns the list of available Spark versions. These versions can be used to
launch a cluster.`, launch a cluster.`,
@ -933,6 +972,9 @@ var sparkVersionsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start start command // start start command
@ -956,10 +998,10 @@ var startCmd = &cobra.Command{
Use: "start CLUSTER_ID", Use: "start CLUSTER_ID",
Short: `Start terminated cluster.`, Short: `Start terminated cluster.`,
Long: `Start terminated cluster. Long: `Start terminated cluster.
Starts a terminated Spark cluster with the supplied ID. This works similar to Starts a terminated Spark cluster with the supplied ID. This works similar to
createCluster except: createCluster except:
* The previous cluster id and attributes are preserved. * The cluster starts * The previous cluster id and attributes are preserved. * The cluster starts
with the last specified cluster size. * If the previous cluster was an with the last specified cluster size. * If the previous cluster was an
autoscaling cluster, the current cluster starts with the minimum number of autoscaling cluster, the current cluster starts with the minimum number of
@ -1015,6 +1057,9 @@ var startCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start unpin command // start unpin command
@ -1033,7 +1078,7 @@ var unpinCmd = &cobra.Command{
Use: "unpin CLUSTER_ID", Use: "unpin CLUSTER_ID",
Short: `Unpin cluster.`, Short: `Unpin cluster.`,
Long: `Unpin cluster. Long: `Unpin cluster.
Unpinning a cluster will allow the cluster to eventually be removed from the Unpinning a cluster will allow the cluster to eventually be removed from the
ListClusters API. Unpinning a cluster that is not pinned will have no effect. ListClusters API. Unpinning a cluster that is not pinned will have no effect.
This API can only be called by workspace admins.`, This API can only be called by workspace admins.`,
@ -1075,6 +1120,9 @@ var unpinCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Clusters // end service Clusters

View File

@ -90,6 +90,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -148,6 +151,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -206,6 +212,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -233,6 +242,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -279,6 +291,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Connections // end service Connections

View File

@ -43,6 +43,9 @@ var meCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service CurrentUser // end service CurrentUser

View File

@ -74,6 +74,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -133,6 +136,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -192,6 +198,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -244,6 +253,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start restore command // start restore command
@ -302,6 +314,9 @@ var restoreCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Dashboards // end service Dashboards

View File

@ -53,6 +53,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service DataSources // end service DataSources

View File

@ -83,6 +83,9 @@ var createExperimentCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start create-run command // start create-run command
@ -138,6 +141,9 @@ var createRunCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-experiment command // start delete-experiment command
@ -188,6 +194,9 @@ var deleteExperimentCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-run command // start delete-run command
@ -236,6 +245,9 @@ var deleteRunCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-tag command // start delete-tag command
@ -286,6 +298,9 @@ var deleteTagCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-by-name command // start get-by-name command
@ -342,6 +357,9 @@ var getByNameCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-experiment command // start get-experiment command
@ -390,6 +408,9 @@ var getExperimentCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-history command // start get-history command
@ -443,6 +464,9 @@ var getHistoryCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-run command // start get-run command
@ -498,6 +522,9 @@ var getRunCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-artifacts command // start list-artifacts command
@ -551,6 +578,9 @@ var listArtifactsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-experiments command // start list-experiments command
@ -602,6 +632,9 @@ var listExperimentsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start log-batch command // start log-batch command
@ -690,6 +723,9 @@ var logBatchCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start log-inputs command // start log-inputs command
@ -741,6 +777,9 @@ var logInputsCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start log-metric command // start log-metric command
@ -803,6 +842,9 @@ var logMetricCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start log-model command // start log-model command
@ -854,6 +896,9 @@ var logModelCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start log-param command // start log-param command
@ -909,6 +954,9 @@ var logParamCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start restore-experiment command // start restore-experiment command
@ -962,6 +1010,9 @@ var restoreExperimentCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start restore-run command // start restore-run command
@ -1010,6 +1061,9 @@ var restoreRunCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start search-experiments command // start search-experiments command
@ -1063,6 +1117,9 @@ var searchExperimentsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start search-runs command // start search-runs command
@ -1119,6 +1176,9 @@ var searchRunsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start set-experiment-tag command // start set-experiment-tag command
@ -1169,6 +1229,9 @@ var setExperimentTagCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start set-tag command // start set-tag command
@ -1222,6 +1285,9 @@ var setTagCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update-experiment command // start update-experiment command
@ -1272,6 +1338,9 @@ var updateExperimentCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update-run command // start update-run command
@ -1324,6 +1393,9 @@ var updateRunCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Experiments // end service Experiments

View File

@ -85,6 +85,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -136,6 +139,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -186,6 +192,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -216,6 +225,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -274,6 +286,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service ExternalLocations // end service ExternalLocations

View File

@ -120,6 +120,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -185,6 +188,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -249,6 +255,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -304,6 +313,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -371,6 +383,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Functions // end service Functions

View File

@ -78,6 +78,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -139,6 +142,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -200,6 +206,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -228,6 +237,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -293,6 +305,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service GitCredentials // end service GitCredentials

View File

@ -79,6 +79,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -137,6 +140,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -195,6 +201,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -225,6 +234,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -279,6 +291,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service GlobalInitScripts // end service GlobalInitScripts

View File

@ -83,6 +83,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-effective command // start get-effective command
@ -137,6 +140,9 @@ var getEffectiveCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -191,6 +197,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Grants // end service Grants

View File

@ -81,6 +81,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -139,6 +142,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -197,6 +203,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -252,6 +261,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start patch command // start patch command
@ -312,6 +324,9 @@ var patchCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -378,6 +393,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Groups // end service Groups

View File

@ -97,6 +97,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -156,6 +159,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start edit command // start edit command
@ -218,6 +224,9 @@ var editCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -276,6 +285,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -303,6 +315,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service InstancePools // end service InstancePools

View File

@ -75,6 +75,9 @@ var addCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start edit command // start edit command
@ -140,6 +143,9 @@ var editCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -169,6 +175,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start remove command // start remove command
@ -220,6 +229,9 @@ var removeCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service InstanceProfiles // end service InstanceProfiles

View File

@ -103,6 +103,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -161,6 +164,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -219,6 +225,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -246,6 +255,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start replace command // start replace command
@ -313,6 +325,9 @@ var replaceCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -384,6 +399,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service IpAccessLists // end service IpAccessLists

View File

@ -99,6 +99,9 @@ var cancelAllRunsCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start cancel-run command // start cancel-run command
@ -185,6 +188,9 @@ var cancelRunCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start create command // start create command
@ -249,6 +255,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -310,6 +319,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-run command // start delete-run command
@ -371,6 +383,9 @@ var deleteRunCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start export-run command // start export-run command
@ -434,6 +449,9 @@ var exportRunCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -495,6 +513,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-run command // start get-run command
@ -563,6 +584,9 @@ var getRunCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-run-output command // start get-run-output command
@ -633,6 +657,9 @@ var getRunOutputCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -686,6 +713,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-runs command // start list-runs command
@ -744,6 +774,9 @@ var listRunsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start repair-run command // start repair-run command
@ -843,6 +876,9 @@ var repairRunCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start reset command // start reset command
@ -892,6 +928,9 @@ var resetCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start run-now command // start run-now command
@ -987,6 +1026,9 @@ var runNowCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start submit command // start submit command
@ -1070,6 +1112,9 @@ var submitCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -1135,6 +1180,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Jobs // end service Jobs

View File

@ -67,6 +67,9 @@ var allClusterStatusesCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start cluster-status command // start cluster-status command
@ -129,6 +132,9 @@ var clusterStatusCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start install command // start install command
@ -179,6 +185,9 @@ var installCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start uninstall command // start uninstall command
@ -226,6 +235,9 @@ var uninstallCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Libraries // end service Libraries

View File

@ -86,6 +86,9 @@ var assignCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start create command // start create command
@ -137,6 +140,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start current command // start current command
@ -164,6 +170,9 @@ var currentCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -224,6 +233,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -283,6 +295,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -312,6 +327,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start maintenance command // start maintenance command
@ -367,6 +385,9 @@ var maintenanceCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start summary command // start summary command
@ -395,6 +416,9 @@ var summaryCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start unassign command // start unassign command
@ -447,6 +471,9 @@ var unassignCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -514,6 +541,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update-assignment command // start update-assignment command
@ -581,6 +611,9 @@ var updateAssignmentCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Metastores // end service Metastores

View File

@ -79,6 +79,9 @@ var approveTransitionRequestCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start create-comment command // start create-comment command
@ -131,6 +134,9 @@ var createCommentCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start create-model command // start create-model command
@ -185,6 +191,9 @@ var createModelCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start create-model-version command // start create-model-version command
@ -239,6 +248,9 @@ var createModelVersionCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start create-transition-request command // start create-transition-request command
@ -294,6 +306,9 @@ var createTransitionRequestCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start create-webhook command // start create-webhook command
@ -346,6 +361,9 @@ var createWebhookCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-comment command // start delete-comment command
@ -394,6 +412,9 @@ var deleteCommentCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-model command // start delete-model command
@ -442,6 +463,9 @@ var deleteModelCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-model-tag command // start delete-model-tag command
@ -491,6 +515,9 @@ var deleteModelTagCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-model-version command // start delete-model-version command
@ -540,6 +567,9 @@ var deleteModelVersionCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-model-version-tag command // start delete-model-version-tag command
@ -590,6 +620,9 @@ var deleteModelVersionTagCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-transition-request command // start delete-transition-request command
@ -646,6 +679,9 @@ var deleteTransitionRequestCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-webhook command // start delete-webhook command
@ -697,6 +733,9 @@ var deleteWebhookCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-latest-versions command // start get-latest-versions command
@ -747,6 +786,9 @@ var getLatestVersionsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-model command // start get-model command
@ -799,6 +841,9 @@ var getModelCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-model-version command // start get-model-version command
@ -848,6 +893,9 @@ var getModelVersionCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-model-version-download-uri command // start get-model-version-download-uri command
@ -897,6 +945,9 @@ var getModelVersionDownloadUriCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-models command // start list-models command
@ -948,6 +999,9 @@ var listModelsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-transition-requests command // start list-transition-requests command
@ -997,6 +1051,9 @@ var listTransitionRequestsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-webhooks command // start list-webhooks command
@ -1050,6 +1107,9 @@ var listWebhooksCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start reject-transition-request command // start reject-transition-request command
@ -1105,6 +1165,9 @@ var rejectTransitionRequestCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start rename-model command // start rename-model command
@ -1155,6 +1218,9 @@ var renameModelCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start search-model-versions command // start search-model-versions command
@ -1207,6 +1273,9 @@ var searchModelVersionsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start search-models command // start search-models command
@ -1259,6 +1328,9 @@ var searchModelsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start set-model-tag command // start set-model-tag command
@ -1309,6 +1381,9 @@ var setModelTagCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start set-model-version-tag command // start set-model-version-tag command
@ -1360,6 +1435,9 @@ var setModelVersionTagCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start test-registry-webhook command // start test-registry-webhook command
@ -1412,6 +1490,9 @@ var testRegistryWebhookCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start transition-stage command // start transition-stage command
@ -1475,6 +1556,9 @@ var transitionStageCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update-comment command // start update-comment command
@ -1524,6 +1608,9 @@ var updateCommentCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update-model command // start update-model command
@ -1574,6 +1661,9 @@ var updateModelCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update-model-version command // start update-model-version command
@ -1625,6 +1715,9 @@ var updateModelVersionCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update-webhook command // start update-webhook command
@ -1681,6 +1774,9 @@ var updateWebhookCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service ModelRegistry // end service ModelRegistry

View File

@ -68,6 +68,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-permission-levels command // start get-permission-levels command
@ -117,6 +120,9 @@ var getPermissionLevelsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start set command // start set command
@ -169,6 +175,9 @@ var setCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -220,6 +229,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Permissions // end service Permissions

View File

@ -100,6 +100,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -158,6 +161,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -219,6 +225,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-update command // start get-update command
@ -268,6 +277,9 @@ var getUpdateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-pipeline-events command // start list-pipeline-events command
@ -331,6 +343,9 @@ var listPipelineEventsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-pipelines command // start list-pipelines command
@ -383,6 +398,9 @@ var listPipelinesCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-updates command // start list-updates command
@ -445,6 +463,9 @@ var listUpdatesCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start reset command // start reset command
@ -520,6 +541,9 @@ var resetCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start start-update command // start start-update command
@ -583,6 +607,9 @@ var startUpdateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start stop command // start stop command
@ -658,6 +685,9 @@ var stopCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -736,6 +766,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Pipelines // end service Pipelines

View File

@ -69,6 +69,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -115,6 +118,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service PolicyFamilies // end service PolicyFamilies

View File

@ -75,6 +75,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -134,6 +137,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -194,6 +200,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -246,6 +255,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-shares command // start list-shares command
@ -306,6 +318,9 @@ var listSharesCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -372,6 +387,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Providers // end service Providers

View File

@ -84,6 +84,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -144,6 +147,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -203,6 +209,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -256,6 +265,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start restore command // start restore command
@ -315,6 +327,9 @@ var restoreCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -381,6 +396,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Queries // end service Queries

View File

@ -71,6 +71,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service QueryHistory // end service QueryHistory

View File

@ -65,6 +65,9 @@ var getActivationUrlInfoCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start retrieve-token command // start retrieve-token command
@ -114,6 +117,9 @@ var retrieveTokenCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service RecipientActivation // end service RecipientActivation

View File

@ -80,6 +80,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -139,6 +142,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -199,6 +205,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -251,6 +260,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start rotate-token command // start rotate-token command
@ -304,6 +316,9 @@ var rotateTokenCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start share-permissions command // start share-permissions command
@ -363,6 +378,9 @@ var sharePermissionsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -429,6 +447,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Recipients // end service Recipients

View File

@ -82,6 +82,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -143,6 +146,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -204,6 +210,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -255,6 +264,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -321,6 +333,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Repos // end service Repos

View File

@ -78,6 +78,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -137,6 +140,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -197,6 +203,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -249,6 +258,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -316,6 +328,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Schemas // end service Schemas

View File

@ -84,6 +84,9 @@ var createScopeCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-acl command // start delete-acl command
@ -138,6 +141,9 @@ var deleteAclCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-scope command // start delete-scope command
@ -190,6 +196,9 @@ var deleteScopeCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete-secret command // start delete-secret command
@ -244,6 +253,9 @@ var deleteSecretCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-acl command // start get-acl command
@ -298,6 +310,9 @@ var getAclCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-acls command // start list-acls command
@ -351,6 +366,9 @@ var listAclsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-scopes command // start list-scopes command
@ -381,6 +399,9 @@ var listScopesCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-secrets command // start list-secrets command
@ -436,6 +457,9 @@ var listSecretsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start put-acl command // start put-acl command
@ -514,6 +538,9 @@ var putAclCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Secrets // end service Secrets

View File

@ -80,6 +80,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -138,6 +141,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -197,6 +203,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -252,6 +261,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start patch command // start patch command
@ -313,6 +325,9 @@ var patchCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -382,6 +397,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service ServicePrincipals // end service ServicePrincipals

View File

@ -82,6 +82,9 @@ var buildLogsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start create command // start create command
@ -143,6 +146,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -189,6 +195,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start export-metrics command // start export-metrics command
@ -239,6 +248,9 @@ var exportMetricsCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -287,6 +299,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -312,6 +327,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start logs command // start logs command
@ -362,6 +380,9 @@ var logsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start query command // start query command
@ -408,6 +429,9 @@ var queryCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update-config command // start update-config command
@ -476,6 +500,9 @@ var updateConfigCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service ServingEndpoints // end service ServingEndpoints

View File

@ -69,6 +69,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -118,6 +121,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -169,6 +175,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -198,6 +207,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start share-permissions command // start share-permissions command
@ -247,6 +259,9 @@ var sharePermissionsCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -313,6 +328,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update-permissions command // start update-permissions command
@ -367,6 +385,9 @@ var updatePermissionsCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Shares // end service Shares

View File

@ -94,6 +94,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -155,6 +158,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -215,6 +221,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -246,6 +255,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -317,6 +329,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start validate command // start validate command
@ -384,6 +399,9 @@ var validateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service StorageCredentials // end service StorageCredentials

View File

@ -72,6 +72,9 @@ var disableCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start enable command // start enable command
@ -100,6 +103,9 @@ var enableCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -149,6 +155,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service SystemSchemas // end service SystemSchemas

View File

@ -85,6 +85,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -146,6 +149,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service TableConstraints // end service TableConstraints

View File

@ -89,6 +89,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -153,6 +156,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -211,6 +217,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list-summaries command // start list-summaries command
@ -284,6 +293,9 @@ var listSummariesCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Tables // end service Tables

View File

@ -75,6 +75,9 @@ var createOboTokenCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -133,6 +136,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -191,6 +197,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -241,6 +250,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service TokenManagement // end service TokenManagement

View File

@ -73,6 +73,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -134,6 +137,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -161,6 +167,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Tokens // end service Tokens

View File

@ -88,6 +88,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -147,6 +150,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -205,6 +211,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -260,6 +269,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start patch command // start patch command
@ -321,6 +333,9 @@ var patchCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -390,6 +405,9 @@ var updateCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Users // end service Users

View File

@ -103,6 +103,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -165,6 +168,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -224,6 +230,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start read command // start read command
@ -287,6 +296,9 @@ var readCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -356,6 +368,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Volumes // end service Volumes

View File

@ -107,6 +107,9 @@ var createCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start delete command // start delete command
@ -165,6 +168,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start edit command // start edit command
@ -261,6 +267,9 @@ var editCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get command // start get command
@ -324,6 +333,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-workspace-warehouse-config command // start get-workspace-warehouse-config command
@ -352,6 +364,9 @@ var getWorkspaceWarehouseConfigCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -401,6 +416,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start set-workspace-warehouse-config command // start set-workspace-warehouse-config command
@ -459,6 +477,9 @@ var setWorkspaceWarehouseConfigCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start start command // start start command
@ -541,6 +562,9 @@ var startCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start stop command // start stop command
@ -623,6 +647,9 @@ var stopCmd = &cobra.Command{
} }
return cmdio.Render(ctx, info) return cmdio.Render(ctx, info)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Warehouses // end service Warehouses

View File

@ -71,6 +71,9 @@ var getCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start update command // start update command
@ -123,6 +126,9 @@ var updateCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service WorkspaceBindings // end service WorkspaceBindings

View File

@ -65,6 +65,9 @@ var getStatusCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start set-status command // start set-status command
@ -113,6 +116,9 @@ var setStatusCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service WorkspaceConf // end service WorkspaceConf

View File

@ -90,6 +90,9 @@ var deleteCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start export command // start export command
@ -157,6 +160,9 @@ var exportCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start get-status command // start get-status command
@ -206,6 +212,9 @@ var getStatusCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start import command // start import command
@ -262,6 +271,9 @@ var importCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start list command // start list command
@ -314,6 +326,9 @@ var listCmd = &cobra.Command{
} }
return cmdio.Render(ctx, response) return cmdio.Render(ctx, response)
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// start mkdirs command // start mkdirs command
@ -377,6 +392,9 @@ var mkdirsCmd = &cobra.Command{
} }
return nil return nil
}, },
// Disable completions since they are not applicable.
// Can be overridden by manual implementation in `override.go`.
ValidArgsFunction: cobra.NoFileCompletions,
} }
// end service Workspace // end service Workspace