1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-02 05:15:23 +02:00
tldr/pages/common/sonar-scanner.md
Lena 0fddee2272
pages/*: reword descriptions to comply with the style guide (#11507)
* pages/*: reword descriptions to comply with the style guide

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-15 09:55:25 +05:30

20 lines
572 B
Markdown

# sonar-scanner
> A generic scanner for SonarQube projects that do not use build tools such as Maven, Gradle, or Ant.
> More information: <https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/>.
- Scan a project with configuration file in your project's root directory named `sonar-project.properties`:
`sonar-scanner`
- Scan a project using configuration file other than `sonar-project.properties`:
`sonar-scanner -D{{project.settings=myproject.properties}}`
- Print help information:
`sonar-scanner -h`
- Print debugging information:
`sonar-scanner -X`