Automation script to create a new LeetCode problem solutions in C#
Reason this release was yanked:
Should check the workflow
Project description
Dotnet-Leetcode-Template
About:
This repository contains automation script that helps me to create required DotNet projects in specified directory preference.
Description:
This script is used as a template to create DotNet projects (tailored to my own preference) which can be used for solving Leet code challenges directly.
This script will create a new directory with the name of the project. Inside this directory, the following projects are created:
-
Class Library
This project will contain all the classes and methods to solve the Leet code challenges. -
Unit Test Project
This project will contain all the unit tests for the classes and methods in the class library. This project will add a reference to the class library project directly. -
Console App
This project will contain the main method to run the code. This project will add a reference to the class library project directly. This project can be used to run the code for adhoc testing.
Prerequisites
This package requires the .NET SDK to be installed.
Install .NET
- Visit the official .NET download page.
- Follow the instructions for your operating system.
- Verify the installation by running:
dotnet --version
Command:
dotnet-project.py [-h] -n -s [-f] [--use-program-main]
Usage:
options:
-h, --help show this help message and exit
-n, --name name of the project
-s, --solution name of the solution
-f, --framework framework to use for the project
--use-program-main use top level statements in the project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dotnet_leetcode_template-1.0.0.tar.gz.
File metadata
- Download URL: dotnet_leetcode_template-1.0.0.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b745b9868a8abf42156515a081cc8bc32df7e61c14e299ca4d13d9dea103a63
|
|
| MD5 |
f6d7956ad5e1a106e9769b3c8ec984d4
|
|
| BLAKE2b-256 |
5bc5a69a19913b131b8c458b25c72dadea513d522a050ed6614e59b1bdd3edeb
|
File details
Details for the file dotnet_leetcode_template-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dotnet_leetcode_template-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6597cd11127e54de0b0c50a1497e7943c191f3b6c35dbe0f9758cbb72ee1ea23
|
|
| MD5 |
cddfafe1bc6d62abbdb343e50533ca98
|
|
| BLAKE2b-256 |
84c147b260110ff64c9f5eed33bafcd69ae26183ac798e5b66ec2f463da235e1
|