mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
23 lines
583 B
Go
23 lines
583 B
Go
package connectors
|
|
|
|
import (
|
|
"github.com/formancehq/fctl/cmd/payments/connectors/configs"
|
|
"github.com/formancehq/fctl/cmd/payments/connectors/install"
|
|
fctl "github.com/formancehq/fctl/pkg"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewConnectorsCommand() *cobra.Command {
|
|
return fctl.NewCommand("connectors",
|
|
fctl.WithAliases("c", "co", "con"),
|
|
fctl.WithShortDescription("Connectors management"),
|
|
fctl.WithChildCommands(
|
|
NewUninstallCommand(),
|
|
NewListCommand(),
|
|
install.NewInstallCommand(),
|
|
configs.NewUpdateConfigCommands(),
|
|
configs.NewGetConfigCommand(),
|
|
),
|
|
)
|
|
}
|