diff --git a/internal/cli/root.go b/internal/cli/root.go index b642259..ccc784a 100644 --- a/internal/cli/root.go +++ b/internal/cli/root.go @@ -5,13 +5,13 @@ import ( "github.com/spf13/cobra" - "github.com/qdrant/qcloud-cli/internal/cmd/access" "github.com/qdrant/qcloud-cli/internal/cmd/backup" "github.com/qdrant/qcloud-cli/internal/cmd/cloudprovider" "github.com/qdrant/qcloud-cli/internal/cmd/cloudregion" "github.com/qdrant/qcloud-cli/internal/cmd/cluster" contextcmd "github.com/qdrant/qcloud-cli/internal/cmd/context" "github.com/qdrant/qcloud-cli/internal/cmd/hybrid" + "github.com/qdrant/qcloud-cli/internal/cmd/iam" packagecmd "github.com/qdrant/qcloud-cli/internal/cmd/package" "github.com/qdrant/qcloud-cli/internal/cmd/selfupgrade" "github.com/qdrant/qcloud-cli/internal/cmd/version" @@ -66,7 +66,7 @@ Documentation: https://github.com/qdrant/qcloud-cli`, s.Config.BindPFlag(config.KeyEndpoint, cmd.PersistentFlags().Lookup("endpoint")) cmd.AddCommand(version.NewCommand(s)) - cmd.AddCommand(access.NewCommand(s)) + cmd.AddCommand(iam.NewCommand(s)) cmd.AddCommand(cluster.NewCommand(s)) cmd.AddCommand(cloudprovider.NewCommand(s)) cmd.AddCommand(cloudregion.NewCommand(s)) diff --git a/internal/cmd/access/access.go b/internal/cmd/iam/iam.go similarity index 51% rename from internal/cmd/access/access.go rename to internal/cmd/iam/iam.go index 4cd12d9..4113e3e 100644 --- a/internal/cmd/access/access.go +++ b/internal/cmd/iam/iam.go @@ -1,4 +1,4 @@ -package access +package iam import ( "github.com/spf13/cobra" @@ -6,12 +6,12 @@ import ( "github.com/qdrant/qcloud-cli/internal/state" ) -// NewCommand creates the access command group. +// NewCommand creates the iam command group. func NewCommand(s *state.State) *cobra.Command { cmd := &cobra.Command{ - Use: "access", - Short: "Manage access to Qdrant Cloud", - Long: `Manage access settings for the Qdrant Cloud account.`, + Use: "iam", + Short: "Manage IAM resources in Qdrant Cloud", + Long: `Manage IAM resources for the Qdrant Cloud account.`, Args: cobra.NoArgs, } return cmd