Files

21 lines
453 B
Go

package bankaccounts
import (
fctl "github.com/formancehq/fctl/pkg"
"github.com/spf13/cobra"
)
func NewBankAccountsCommand() *cobra.Command {
return fctl.NewCommand("bank_accounts",
fctl.WithAliases("bacc", "ba", "bac", "baccount"),
fctl.WithShortDescription("Bank Accounts management"),
fctl.WithChildCommands(
NewCreateCommand(),
NewForwardCommand(),
NewUpdateMetadataCommand(),
NewShowCommand(),
NewListCommand(),
),
)
}