API Reference
lean library remove
Description
Removes a custom library from a project.
This command can remove libraries that are added using lean library add
, as well as libraries that were manually added to the C# project file or a Python project's requirements.txt file.
Custom C# libraries are removed from your C# project file (the file ending in .csproj).
If dotnet
is on your PATH
and --no-local
is not given, the CLI also restores all dependencies using dotnet restore
.
Custom Python libraries are removed from your project's requirements.txt file.