.NET tool to report licenses in a project or solution.
Make sure you have dotnet
installed.
dotnet-licenses-reporter
tool can be installed using dotnet
CLI.
For advanced users and developers, it can be installed and tested directly from source code (see below for more information).
dotnet tool install --global dotnet-licenses-reporter
or inside a specific directory:
dotnet new tool-manifest
dotnet tool install dotnet-licenses-reporter
If tool is already installed and need upgrade:
dotnet tool update dotnet-licenses-reporter
To remove the tool:
dotnet tool uninstall dotnet-licenses-reporter
- Clone this repository with
git clone [email protected]:LsquaredTechnologies/dotnet-licenses-reporter.git
- Compile the application with
dotnet build -c Release -o ./artifacts
- Executable should be located inside
artifacts
repository
Usage:
dotnet licenses [<PROJECT | SOLUTION>] [OPTIONS]
dotnet licenses [COMMAND] [COMMAND_OPTIONS]
Collect and report all licenses used in a project or solution.
Arguments:
<PROJECT | SOLUTION> The project or solution to report licenses from.
Options:
-o, --output <OUTPUT_PATH> The output directory write files to.
-f, --output-format <FORMAT> The output formats to use to display package licenses. []
--silent Suppress output to console.
-t, --template <TEMPLATE_PATH> A liquid template file to use to display package licenses when output-formats contain
"template".
--open Open the generated file with the default application.
--version Show version information
-?, -h, --help Show help and usage information
Commands:
templates Allows to list and export templates.
Run 'dotnet licenses [COMMAND] --help' for more information on a command.
Contributions, fixes and feature requests are welcome!
For major changes, please open an issue first to discuss what you would like to change.
We support both VSCode and Visual Studio for all .Net developments and VSCode for all other files.
cd [Project]/
dotnet test
Follow or ⭐️ this project if it helped you!
👤 LionelL2
Copyright © 2024 LionelL2
This README was generated with ❤️ by dotnet-readme-generator