mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
25 lines
599 B
Go
25 lines
599 B
Go
package organizations
|
|
|
|
import (
|
|
"github.com/formancehq/fctl/cmd/cloud/organizations/invitations"
|
|
"github.com/formancehq/fctl/cmd/cloud/organizations/users"
|
|
fctl "github.com/formancehq/fctl/pkg"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewCommand() *cobra.Command {
|
|
return fctl.NewStackCommand("organizations",
|
|
fctl.WithAliases("org", "o"),
|
|
fctl.WithShortDescription("Organizations management"),
|
|
fctl.WithChildCommands(
|
|
NewListCommand(),
|
|
NewCreateCommand(),
|
|
NewDeleteCommand(),
|
|
NewUpdateCommand(),
|
|
NewDescribeCommand(),
|
|
users.NewCommand(),
|
|
invitations.NewCommand(),
|
|
),
|
|
)
|
|
}
|