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: cli/cli.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,11 @@ func Root() *cobra.Command {
31
31
Run: command.ArduinoCheck,
32
32
}
33
33
34
+
rootCommand.PersistentFlags().String("compliance", "specification", "Configure how strict the tool is. Can be {strict|specification|permissive}")
34
35
rootCommand.PersistentFlags().String("format", "text", "The output format can be {text|json}.")
35
36
rootCommand.PersistentFlags().String("library-manager", "", "Configure the checks for libraries in the Arduino Library Manager index. Can be {submit|update|false}.\nsubmit: Also run additional checks required to pass before a library is accepted for inclusion in the index.\nupdate: Also run additional checks required to pass before new releases of a library already in the index are accepted.\nfalse: Don't run any Library Manager-specific checks.")
36
37
rootCommand.PersistentFlags().String("log-format", "text", "The output format for the logs, can be {text|json}.")
37
38
rootCommand.PersistentFlags().String("log-level", "panic", "Messages with this level and above will be logged. Valid levels are: trace, debug, info, warn, error, fatal, panic")
38
-
rootCommand.PersistentFlags().Bool("permissive", false, "Only fail when critical issues are detected.")
39
39
rootCommand.PersistentFlags().String("project-type", "all", "Only check projects of the specified type and their subprojects. Can be {sketch|library|all}.")
40
40
rootCommand.PersistentFlags().Bool("recursive", true, "Search path recursively for Arduino projects to check. Can be {true|false}.")
41
41
rootCommand.PersistentFlags().String("report-file", "", "Save a report on the checks to this file.")
0 commit comments