AngelSix.ContextMap.Cli 1.2.0

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

AngelSix.ContextMap.Cli

The gated, on-demand companion to the AngelSix.ContextMap on-build package.

The on-build package writes the fast structural layer on every build. This tool adds the part that needs source and a semantic model: the call graph (who calls what), which is the evidence behind a context map's "touch X → also touch Y" impact guidance. It is slower (it opens the whole solution), so it runs on demand, not on every build.

Install

dotnet tool install -g AngelSix.ContextMap.Cli

Use

contextmap callgraph --solution path/to/Your.sln

--solution accepts a .sln, a .slnx, or a single .csproj (a project also pulls in its referenced projects). .slnx is parsed directly, so it works regardless of the Roslyn version's own .slnx support.

Writes Structure.json (now including a Calls list per method) and Digest.md into <git-root>/AgentDocumentation/ContextMap. Options:

Option Default Meaning
--solution (required) The .sln, .slnx, or .csproj to open.
--output <git-root>/AgentDocumentation/ContextMap Where to write (set this in a monorepo).
--include-internal true Include internal types and members.
--exclude *.Tests;*.Test Project-name globs to skip.

The output is a strict superset of the on-build map (same schema plus Calls), so it overwrites the structural map with the richer version. The intent layer (Subsystems.md) is then written by an agent from this map.

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
1.2.0 49 6/7/2026
1.1.0 35 6/7/2026
1.0.1 37 6/7/2026
1.0.0 41 6/7/2026