feat: update to 0.2.7, change default output to csv

This commit is contained in:
moond4rk
2020-11-10 14:08:58 +08:00
committed by ᴍᴏᴏɴD4ʀᴋ
parent 28f8fb5497
commit b5ec1e89e6
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func Execute() {
&cli.BoolFlag{Name: "compress", Aliases: []string{"cc"}, Destination: &compress, Value: false, Usage: "Compress result to zip"},
&cli.StringFlag{Name: "browser", Aliases: []string{"b"}, Destination: &browser, Value: "all", Usage: "Available browsers: all|" + strings.Join(core.ListBrowser(), "|")},
&cli.StringFlag{Name: "results-dir", Aliases: []string{"dir"}, Destination: &exportDir, Value: "results", Usage: "Export dir"},
&cli.StringFlag{Name: "format", Aliases: []string{"f"}, Destination: &outputFormat, Value: "json", Usage: "Format, csv|json|console"},
&cli.StringFlag{Name: "format", Aliases: []string{"f"}, Destination: &outputFormat, Value: "csv", Usage: "Format, csv|json|console"},
},
HideHelpCommand: true,
Action: func(c *cli.Context) error {