2023-06-12 12:23:21 +00:00
|
|
|
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
|
|
|
|
|
|
|
|
package settings
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
2024-03-06 09:53:44 +00:00
|
|
|
|
|
|
|
csp_enablement_account "github.com/databricks/cli/cmd/account/csp-enablement-account"
|
|
|
|
esm_enablement_account "github.com/databricks/cli/cmd/account/esm-enablement-account"
|
|
|
|
personal_compute "github.com/databricks/cli/cmd/account/personal-compute"
|
2023-06-12 12:23:21 +00:00
|
|
|
)
|
|
|
|
|
2023-07-25 18:19:07 +00:00
|
|
|
// Slice with functions to override default command behavior.
|
|
|
|
// Functions can be added from the `init()` function in manually curated files in this directory.
|
|
|
|
var cmdOverrides []func(*cobra.Command)
|
|
|
|
|
|
|
|
func New() *cobra.Command {
|
|
|
|
cmd := &cobra.Command{
|
2024-03-06 09:53:44 +00:00
|
|
|
Use: "settings",
|
|
|
|
Short: `Accounts Settings API allows users to manage settings at the account level.`,
|
|
|
|
Long: `Accounts Settings API allows users to manage settings at the account level.`,
|
2023-07-25 18:19:07 +00:00
|
|
|
GroupID: "settings",
|
|
|
|
Annotations: map[string]string{
|
|
|
|
"package": "settings",
|
|
|
|
},
|
2024-03-12 14:12:34 +00:00
|
|
|
|
|
|
|
// This service is being previewed; hide from help output.
|
|
|
|
Hidden: true,
|
2023-07-25 18:19:07 +00:00
|
|
|
}
|
|
|
|
|
2024-03-06 09:53:44 +00:00
|
|
|
// Add subservices
|
|
|
|
cmd.AddCommand(csp_enablement_account.New())
|
|
|
|
cmd.AddCommand(esm_enablement_account.New())
|
|
|
|
cmd.AddCommand(personal_compute.New())
|
|
|
|
|
2023-07-25 18:19:07 +00:00
|
|
|
// Apply optional overrides to this command.
|
|
|
|
for _, fn := range cmdOverrides {
|
|
|
|
fn(cmd)
|
|
|
|
}
|
|
|
|
|
|
|
|
return cmd
|
2023-07-03 09:46:45 +00:00
|
|
|
}
|
|
|
|
|
2023-06-12 12:23:21 +00:00
|
|
|
// end service AccountSettings
|