Files
2023-12-11 09:48:10 +00:00

23 lines
529 B
Go

package cloud
import (
"github.com/formancehq/fctl/cmd/cloud/me"
"github.com/formancehq/fctl/cmd/cloud/organizations"
"github.com/formancehq/fctl/cmd/cloud/regions"
fctl "github.com/formancehq/fctl/pkg"
"github.com/spf13/cobra"
)
func NewCommand() *cobra.Command {
return fctl.NewCommand("cloud",
fctl.WithAliases("c"),
fctl.WithShortDescription("Cloud management"),
fctl.WithChildCommands(
organizations.NewCommand(),
me.NewCommand(),
regions.NewCommand(),
NewGeneratePersonalTokenCommand(),
),
)
}