Scanverion.Cli 0.1.0

dotnet tool install --global Scanverion.Cli --version 0.1.0
                    
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 Scanverion.Cli --version 0.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Scanverion.Cli&version=0.1.0
                    
nuke :add-package Scanverion.Cli --version 0.1.0
                    

Scanverion CLI

The CLI uses the curated .NET SDK and keeps API keys out of command arguments.

Download and install

Download Scanverion.Cli.0.1.0.nupkg from the developer tooling page. The package is a .NET global tool and requires the .NET 8 SDK or runtime. From the directory containing the download:

dotnet tool install --global Scanverion.Cli --version 0.1.0 --add-source .
scanverion --help

To upgrade a previously installed local package:

dotnet tool update --global Scanverion.Cli --version 0.1.0 --add-source .

The package is currently distributed directly and is not yet published to NuGet.org. The --add-source directory must contain the downloaded .nupkg file.

Configure and run

$env:SCANVERION_API_KEY = "skv_..."
$env:SCANVERION_API_URL = "http://localhost:5009"

dotnet run --project apps/cli/Scanverion.Cli.csproj -- doctor
dotnet run --project apps/cli/Scanverion.Cli.csproj -- auth test --output json
dotnet run --project apps/cli/Scanverion.Cli.csproj -- document process .\invoice.pdf --output json
dotnet run --project apps/cli/Scanverion.Cli.csproj -- vehicle process .\car.jpg --output json
dotnet run --project apps/cli/Scanverion.Cli.csproj -- batch process .\samples --output json
dotnet run --project apps/cli/Scanverion.Cli.csproj -- usage show --output json

After global installation, omit the dotnet run --project ... -- prefix:

scanverion doctor
scanverion auth test --output json
scanverion document process .\invoice.pdf --output json

doctor does not require an API key. auth test, document processing, and usage queries require SCANVERION_API_KEY. JSON output is stable for automation; diagnostics and errors are written to stderr.

Exit codes are stable: 0 success, 1 API or service failure, 2 command or input error, and 3 authentication failure.

Self-contained publishing

The release script publishes single-file, self-contained binaries for the six supported desktop and server targets:

npm run cli:publish

Use -RuntimeIdentifiers win-x64 or another subset when validating locally. Outputs are written under .tmp-cli-publish/<runtime>. Each target must be built and smoke-tested independently before release.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 47 9/17/2026