package cmd
import (
"io"
"github.com/spf13/cobra"
"github.com/vmware/dispatch/pkg/dispatchcli/i18n"
)
var (
iamDescription = i18n.T(`Managing identity and access management (iam) resources.`)
iamExample = i18n.T(``)
)
func NewCmdIam(out, errOut io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "iam",
Short: iamDescription,
Long: iamDescription,
Run: runHelp,
}
cmd.AddCommand(NewCmdIamCreate(out, errOut))
cmd.AddCommand(NewCmdIamGet(out, errOut))
cmd.AddCommand(NewCmdIamDelete(out, errOut))
cmd.AddCommand(NewCmdUpdate(out, errOut))
return cmd
}