mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
20 lines
418 B
Go
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(),
|
|
),
|
|
)
|
|
}
|