RepoDoctor.Cli 0.1.0-beta.2

This is a prerelease version of RepoDoctor.Cli.
dotnet tool install --global RepoDoctor.Cli --version 0.1.0-beta.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local RepoDoctor.Cli --version 0.1.0-beta.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=RepoDoctor.Cli&version=0.1.0-beta.2&prerelease
                    
nuke :add-package RepoDoctor.Cli --version 0.1.0-beta.2
                    

repo-doctor

Deterministic, pinned analyzer scans for SDK-style C# repositories.

Try or install

.NET 10 can run the tool without installing it or changing PATH:

dotnet tool exec RepoDoctor.Cli@0.1.0-beta.2 -- scan ./YourSolution.slnx

For regular use, install it for the current user. Administrator privileges are not required:

dotnet tool install --global RepoDoctor.Cli --version 0.1.0-beta.2
repo-doctor init .
dotnet restore
repo-doctor scan ./YourSolution.slnx

To pin the tool version in a repository instead:

dotnet new tool-manifest
dotnet tool install RepoDoctor.Cli --version 0.1.0-beta.2
dotnet tool run repo-doctor -- scan ./YourSolution.slnx

Useful outputs:

repo-doctor scan ./YourSolution.slnx --format json --output artifacts/current.json
repo-doctor scan ./YourSolution.slnx --format sarif --output artifacts/current.sarif
repo-doctor scan ./YourSolution.slnx --baseline artifacts/base.json --format json --output artifacts/head.json
repo-doctor scan ./YourSolution.slnx --audit --format json --output artifacts/audited.json

The vendored profile and .repo-doctor.json pin policy locally. --audit runs the SDK's machine-readable direct and transitive vulnerability check against restored projects; a failed or unverifiable audit makes the scan incomplete instead of silently reporting clean. See docs/AGENT_WORKFLOW.md, docs/COMPATIBILITY.md, and docs/PROFILE_CONTRIBUTING.md.

For stricter opt-in async and evaluated project-policy checks, vendor profiles/dotnet-code-quality.json and select it in .repo-doctor.json. The default bootstrap profile is unchanged; see docs/CONFIGURATION.md#project-configuration-checks.

Score (experimental)

Complete scans report score = max(0, 100 - penalty): errors cost 10, warnings 3, and info findings 1. penalty is not capped; valid baseline comparisons also report score and penalty deltas. The gate remains independent and authoritative.

No-admin local run

From this source checkout, one command packs the current code, installs it under the ignored artifacts/local-tool directory, and runs both shipped profiles:

pwsh -NoProfile -File ./scripts/run-local.ps1 ./CircuitBreak-master/CircuitBreak.sln

Use -Profile bootstrap or -Profile code-quality to run one profile, -Audit to include the bootstrap NuGet audit, or -InstallOnly to stop after installation. Add -Reinstall after changing the tool's source. Nothing is installed globally and no administrator privileges or PATH changes are needed. The installed executable path is printed after installation; later runs reuse it without contacting NuGet.

The CLI also accepts a profile directly without changing the target repository:

repo-doctor scan ./YourSolution.slnx --profile ./profiles/dotnet-code-quality.json

For release verification, run dotnet test RepoDoctor.slnx followed by pwsh ./scripts/verify-package.ps1. The package check installs the tool into an isolated path and exercises init, policy inspection, JSON, SARIF, and NuGet audit flows.

Releasing

The release workflow publishes tags named v<semver> to NuGet.org and creates a matching GitHub release. Before the first tag, create a NuGet.org Trusted Publishing policy for owner Tackgnol, repository DotNetDoctor, workflow release.yml, and environment release; then set the GitHub Actions repository variable NUGET_USER to the NuGet.org profile name.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.1.0-beta.2 51 9/10/2026
0.1.0-beta.1 48 9/10/2026