Chard 0.0.1

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet tool install --global Chard --version 0.0.1
                    
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 Chard --version 0.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Chard&version=0.0.1
                    
nuke :add-package Chard --version 0.0.1
                    

Chard

Chard is a simple dotnet tool to retrieve the list of dependencies between methods in a C# project. This is still work in progress and hasn't been well tested.

Note that Chard might fail to resolve and display some symbols in case your project is not restored.

Installation

You can install Chard by running

dotnet tool install Chard

To learn more about available options, run dotnet chard -h

Examples

You can use the output of Chard with other programs to generate diagrams, or further examine the dependencies.

Generating a Mermaid diagram

You can use Mermaid to generate a diagram of method dependencies from the output of Chard, for example:

echo 'flowchart TD'; dotnet chard -p src/Api -s '-->' 'MyClass.MyMethod'

Will produce a viable Mermaid diagram:

flowchart TD
MyClass.MyMethod-->MyClass.MyOtherMethod
MyClass.MyOtherMethod-->OtherClass.FooBar

We can also pipe it directly to mermaid-cli to generate a file:

(echo 'flowchart TD'; dotnet chard -p src/Api -s '-->' 'MyClass.MyMethod') | mmdc -o diagram.png
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