Files

20 lines
418 B
Go

package accounts
import (
fctl "github.com/formancehq/fctl/pkg"
"github.com/spf13/cobra"
)
func NewLedgerAccountsCommand() *cobra.Command {
return fctl.NewCommand("accounts",
fctl.WithAliases("acc", "a", "ac", "account"),
fctl.WithShortDescription("Accounts management"),
fctl.WithChildCommands(
NewListCommand(),
NewShowCommand(),
NewSetMetadataCommand(),
NewDeleteMetadataCommand(),
),
)
}