mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
23 lines
445 B
Go
23 lines
445 B
Go
package pools
|
|
|
|
import (
|
|
fctl "github.com/formancehq/fctl/pkg"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewPoolsCommand() *cobra.Command {
|
|
return fctl.NewCommand("pools",
|
|
fctl.WithAliases("p"),
|
|
fctl.WithShortDescription("Pools management"),
|
|
fctl.WithChildCommands(
|
|
NewListCommand(),
|
|
NewCreateCommand(),
|
|
NewShowCommand(),
|
|
NewDeleteCommand(),
|
|
NewBalancesCommand(),
|
|
NewAddAccountCommand(),
|
|
NewRemoveAccountCommand(),
|
|
),
|
|
)
|
|
}
|