This repo contains dotnet global tool for creating dotnet projects from Leetcode problems
Tool uses the api of Leetcode and creates a dotnet unit test project with a initial code and readme about a problem
dotnet tool install --global LeetSharpTool
- Creates a project for a random problem
leetsharp
- With the specified difficulty
leetsharp -l Middle
- Direct from url
leetsharp -u https://leetcode.com/problems/two-sum
- With the specified unit test framework (default xUnit)
leetsharp -t xunit