AutoMappic.Cli 0.7.0

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

AutoMappic CLI

The AutoMappic CLI is a standalone diagnostic and visualization tool for .NET projects using the AutoMappic source-generated mapper. It allows developers to validate their mapping configurations and visualize complex object relationships without running the application or relying solely on IDE feedback.

Features

  • Project Validation (validate): Performs full build-time analysis of Profile classes and CreateMap declarations. It reports all AM0001-AM0017 diagnostics, making it ideal for CI/CD gates.
  • Mapping Visualization (visualize): Generates Mermaid.js graph definitions of your mapping architecture, showing both type-level links and detailed property-level transitions (e.g., flattened paths).

Installation

Install the AutoMappic CLI as a global .NET tool:

dotnet tool install -g AutoMappic.Cli

Usage

1. Validating a Project

Ensure all your mapping configurations are structurally sound:

# Standard output
automappic validate MyProject.csproj

# Machine-readable JSON output for CI/CD
automappic validate MyProject.csproj --format json

2. Visualizing Mapping Graphs

Generate a Mermaid graph of your mapping surface:

automappic visualize MyProject.csproj --format mermaid

You can then paste the output into any Mermaid-compatible viewer (e.g., GitHub, VS Code Mermaid preview, or Mermaid Live Editor).

Industrial-Grade Readiness

The CLI follows the same "Zero-Reflection" philosophy as the core library, utilizing the Roslyn Workspace API to analyze code purely via its semantic model. This ensures that validation is fast, accurate, and 100% consistent with the build-time source generator output.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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.7.0 36 4/11/2026
0.6.2 87 4/3/2026
0.6.1 76 4/3/2026
0.6.0 85 4/3/2026
0.5.1 87 4/1/2026
0.5.0 98 3/30/2026
0.4.0 94 3/27/2026
0.3.0 81 3/22/2026