fix cli arg
This commit is contained in:
@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user