fix cli arg

This commit is contained in:
Aleksandr Trushkin
2024-01-29 13:21:56 +03:00
parent 5a49956661
commit 4ceeba1608

View File

@ -300,6 +300,7 @@ func newExportYMLCatalogCmd() *cli.Command {
Flags: []cli.Flag{
&cli.StringFlag{
Name: "out",
Aliases: []string{"o"},
Usage: "destination path",
Value: "yml_catalog.xml",
TakesFile: true,
@ -684,7 +685,7 @@ func decorateAction(a action) cli.ActionFunc {
}
func exportYMLCatalogAction(ctx context.Context, c *cli.Command) error {
path := c.String("dst")
path := c.String("out")
limit := c.Int("limit")
pretty := c.Bool("pretty")