https://github.com/godeltech/codereview.roslynmetadataexporter
https://github.com/godeltech/codereview.roslynmetadataexporter
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/godeltech/codereview.roslynmetadataexporter
- Owner: GodelTech
- License: mit
- Created: 2021-01-29T05:04:37.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-13T10:38:25.000Z (11 months ago)
- Last Synced: 2025-02-13T11:33:53.433Z (11 months ago)
- Language: C#
- Size: 36.1 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeReview.RoslynMetadataExporter
Docker Image: https://hub.docker.com/r/godeltech/codereview.roslyn-metadata-exporter
## Description
This tool is used to export metadata of Roslyn analyzers to YAML or JSON format.
## Usage
### How to build the Docker Image
To build the Docker image, run the following command:
```bash
docker build -t codereview.roslyn-metadata-exporter .
```
### How to run the Docker Container
To run the Docker container, use the following command:
```bash
docker run codereview.roslyn-metadata-exporter run -p SonarAnalyzer.CSharp -o result.yaml -j
```
### Commands And Parameters
#### run
Runs workflow defined by manifest file
> dotnet CodeReview.RoslynMetadataExporter.dll run -p SonarAnalyzer.CSharp -o result.yaml -j
| Agruments | Key | Required | Type | Description agrument |
|-----------|-----|----------|--------|-----------------------------------------------|
| --package | -p | true | string | NuGet package identifier |
| --version | -v | false | string | NuGet package version |
| --output | -o | true | string | Output file path |
| --json | -j | false | bool | Specifies if JSON or YAML output must be used |
## License
This project is licensed under the MIT License. See the LICENSE file for more details.