You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: publiccode-parser/publiccode_parser.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ func main() {
37
37
}
38
38
localBasePathPtr:=flag.String("path", "", "Use this local directory as base path when checking for files existence instead of using the `url` key in publiccode.yml")
39
39
disableNetworkPtr:=flag.Bool("no-network", false, "Disables checks that require network connections (URL existence and oEmbed). This makes validation much faster.")
40
+
disableExternalChecksPtr:=flag.Bool("no-external-checks", false, "Disables ALL checks that reference external resources such as remote URLs or local file existence. Implies --no-network")
40
41
_=flag.String("export", "", "(DEPRECATED) Provided for backward compatibility only")
41
42
jsonOutputPtr:=flag.Bool("json", false, "Output the validation errors as a JSON list.")
42
43
helpPtr:=flag.Bool("help", false, "Display command line usage.")
0 commit comments