mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
22 lines
466 B
Go
22 lines
466 B
Go
package transactions
|
|
|
|
import (
|
|
fctl "github.com/formancehq/fctl/pkg"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewLedgerTransactionsCommand() *cobra.Command {
|
|
return fctl.NewCommand("transactions",
|
|
fctl.WithAliases("t", "txs", "tx"),
|
|
fctl.WithShortDescription("Transactions management"),
|
|
fctl.WithChildCommands(
|
|
NewListCommand(),
|
|
NewNumCommand(),
|
|
NewRevertCommand(),
|
|
NewShowCommand(),
|
|
NewSetMetadataCommand(),
|
|
NewDeleteMetadataCommand(),
|
|
),
|
|
)
|
|
}
|