- Documentation
- Getting Started
- Analysis and Report
- Code Rule and Query
- Scanyp Features
- Build Process Integration
Notice that Scanyp.Console.exe returns a non-zero exit code when at least one Quality Gate fails. This exit code can be used to eventually stop your build process in such situation.
Scanyp.Console.exe command line options
MANDATORY
-
The path to the Scanyp project file(.pyproj).
It must be specified as the first argument. If you need to specify a path that contains a space character use double quotes ".. ..". Relative paths are not supported. These remarks also apply to paths provided with options /OutDir and /XslForReport.
OPTIONAL
- /ViewReport: to view the HTML report
- /Silent: to disable output and eventual calls to Console.Read() on console
- /HideConsole: to hide the console window.
- /FullAnalysis: launch the full analysis.
- /LogTrendMetrics: to force log trend metrics.
- /XslForReport xlsFilePath: to provide your own Xsl file used to build report. The path specified must be absolute.
- /OutDir dir : to override the output dir specified in the Scanyp project file. The dir specified must be absolute. VisualScanyp.exe won't work on the machine where you used Scanyp.Console.exe with the option /OutDir because VisualScanyp.exe is not aware of the output dir specified and will try to use the output dir specified in your Scanyp project file.
- /EmitVisualNDependBinXml: to emit the file VisualScanyp.bin.xml VisualScanyp.bin.xml is an xml file that contains the dependencies graph of your application. It can be used for your own purpose. VisualScanyp.exe uses VisualScanyp.bin which is a GZipStream compressed version of VisualScanyp.bin.xml.
- /Help: to display the current help on console