Files
2024-03-15 15:16:03 +00:00

22 lines
528 B
Go

package reconciliation
import (
"github.com/formancehq/fctl/cmd/reconciliation/policies"
fctl "github.com/formancehq/fctl/pkg"
"github.com/spf13/cobra"
)
func NewCommand() *cobra.Command {
return fctl.NewStackCommand("reconciliation",
fctl.WithShortDescription("Reconciliation management"),
fctl.WithChildCommands(
policies.NewPoliciesCommand(),
NewListCommand(),
NewShowCommand(),
),
fctl.WithPersistentPreRunE(func(cmd *cobra.Command, args []string) error {
return fctl.NewStackStore(cmd)
}),
)
}