Skip to content

patriksvensson/autograph

Repository files navigation

Autograph

A utility that creates dot graphs from .NET projects.

Installation

> dotnet tool install -g dotnet-autograph

Usage

USAGE:
    dotnet autograph <PROJECTS> [OPTIONS]

EXAMPLES:
    dotnet autograph foo.csproj
    dotnet autograph foo.csproj bar.csproj --output graph.dot

ARGUMENTS:
    <PROJECTS>    The project(s) to build a graph from

OPTIONS:
    -h, --help               Prints help information
        --output <OUTPUT>    The filename of the resulting graph

Example

To create a dot graph for project ~/source/foo/foo.csproj in the current working directory:

> dotnet autograph ~/source/foo/foo.csproj 

You can also specify the output path:

> dotnet autograph ~/source/foo/foo.csproj --output ~/foo.dot

This will output something like this:

example

Building

We're using Cake as a dotnet tool for building. So make sure that you've restored Cake by running the following in the repository root:

> dotnet tool restore

After that, running the build is as easy as writing:

> dotnet cake

Copyright

Copyright (c) 2020 Patrik Svensson

About

A utility that creates dot graphs from .NET projects

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Languages