AngelSix.ContextMap.Cli
1.2.0
dotnet tool install --global AngelSix.ContextMap.Cli --version 1.2.0
dotnet new tool-manifest
dotnet tool install --local AngelSix.ContextMap.Cli --version 1.2.0
#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 | Versions 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. |
This package has no dependencies.