Skip to content

Commit d8ba9fa

Browse files
authored
chore(iam): rename the access root command to iam, closer to the api and shorter (#101)
* chore(iam): rename the access root command to iam, closer to the api and shorter * chore: code format
1 parent c27f564 commit d8ba9fa

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

internal/cli/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import (
55

66
"github.com/spf13/cobra"
77

8-
"github.com/qdrant/qcloud-cli/internal/cmd/access"
98
"github.com/qdrant/qcloud-cli/internal/cmd/backup"
109
"github.com/qdrant/qcloud-cli/internal/cmd/cloudprovider"
1110
"github.com/qdrant/qcloud-cli/internal/cmd/cloudregion"
1211
"github.com/qdrant/qcloud-cli/internal/cmd/cluster"
1312
contextcmd "github.com/qdrant/qcloud-cli/internal/cmd/context"
1413
"github.com/qdrant/qcloud-cli/internal/cmd/hybrid"
14+
"github.com/qdrant/qcloud-cli/internal/cmd/iam"
1515
packagecmd "github.com/qdrant/qcloud-cli/internal/cmd/package"
1616
"github.com/qdrant/qcloud-cli/internal/cmd/selfupgrade"
1717
"github.com/qdrant/qcloud-cli/internal/cmd/version"
@@ -66,7 +66,7 @@ Documentation: https://github.com/qdrant/qcloud-cli`,
6666
s.Config.BindPFlag(config.KeyEndpoint, cmd.PersistentFlags().Lookup("endpoint"))
6767

6868
cmd.AddCommand(version.NewCommand(s))
69-
cmd.AddCommand(access.NewCommand(s))
69+
cmd.AddCommand(iam.NewCommand(s))
7070
cmd.AddCommand(cluster.NewCommand(s))
7171
cmd.AddCommand(cloudprovider.NewCommand(s))
7272
cmd.AddCommand(cloudregion.NewCommand(s))
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
package access
1+
package iam
22

33
import (
44
"github.com/spf13/cobra"
55

66
"github.com/qdrant/qcloud-cli/internal/state"
77
)
88

9-
// NewCommand creates the access command group.
9+
// NewCommand creates the iam command group.
1010
func NewCommand(s *state.State) *cobra.Command {
1111
cmd := &cobra.Command{
12-
Use: "access",
13-
Short: "Manage access to Qdrant Cloud",
14-
Long: `Manage access settings for the Qdrant Cloud account.`,
12+
Use: "iam",
13+
Short: "Manage IAM resources in Qdrant Cloud",
14+
Long: `Manage IAM resources for the Qdrant Cloud account.`,
1515
Args: cobra.NoArgs,
1616
}
1717
return cmd

0 commit comments

Comments
 (0)