owasp-dep-scan / dosai

Dotnet Source and Assembly Inspector (Dosai) is a tool to list details about the namespaces and methods from sources and assemblies.

Home Page:https://discord.gg/tmmtjCEHNV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotnet Source and Assembly Inspector (Dosai)

List details about the namespaces and methods from a C# .NET source file or assembly

Usage

Dosai [command] [options]

Commands:

methods Retrieve details about the methods
--version Show version information
-?, -h, --help Show help and usage information

Options:

--path [path] (REQUIRED) The file or directory to inspect
--o The output file location and name, default value when option not provided is 'dosai.json'


Developers

Running code directly from the code repository

  1. dotnet build ./Dosai
  2. Run a command such as:
    • dotnet run --project ./Dosai/ methods --path ./Dosai/bin/x64/Debug/net8.0/Dosai.dll
    • dotnet run --project ./Dosai/ methods --path ./Dosai/Dosai.cs

Generating a self-contained executable for a system

  • Windows: dotnet publish -r win-x64 --self-contained
  • Linux: dotnet publish -r linux-x64 --self-contained

Invoking the self-contained executable

  • Windows: Dosai.exe methods --path ./Dosai/bin/x64/Debug/net8.0/Dosai.dll
  • Linux: Dosai methods --path ./Dosai/Dosai.cs

Run unit tests

dotnet test

About

Dotnet Source and Assembly Inspector (Dosai) is a tool to list details about the namespaces and methods from sources and assemblies.

https://discord.gg/tmmtjCEHNV

License:Apache License 2.0


Languages

Language:C# 98.6%Language:Visual Basic .NET 1.4%