Files

20 lines
386 B
Go

package regions
import (
fctl "github.com/formancehq/fctl/pkg"
"github.com/spf13/cobra"
)
func NewCommand() *cobra.Command {
return fctl.NewMembershipCommand("regions",
fctl.WithAliases("region", "reg"),
fctl.WithShortDescription("Regions management"),
fctl.WithChildCommands(
NewListCommand(),
NewShowCommand(),
NewCreateCommand(),
NewDeleteCommand(),
),
)
}