Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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))
Expand Down
10 changes: 5 additions & 5 deletions internal/cmd/access/access.go → internal/cmd/iam/iam.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package access
package iam

import (
"github.com/spf13/cobra"

"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
Expand Down
Loading