Skip to main content

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:

  1. Class Library
    This project will contain all the classes and methods to solve the Leet code challenges.

  2. 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.

  3. 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
  1. Visit the official .NET download page.
  2. Follow the instructions for your operating system.
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dotnet_leetcode_template-1.0.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dotnet_leetcode_template-1.0.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file dotnet_leetcode_template-1.0.0.tar.gz.

File metadata

File hashes

Hashes for dotnet_leetcode_template-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6b745b9868a8abf42156515a081cc8bc32df7e61c14e299ca4d13d9dea103a63
MD5 f6d7956ad5e1a106e9769b3c8ec984d4
BLAKE2b-256 5bc5a69a19913b131b8c458b25c72dadea513d522a050ed6614e59b1bdd3edeb

See more details on using hashes here.

File details

Details for the file dotnet_leetcode_template-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dotnet_leetcode_template-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6597cd11127e54de0b0c50a1497e7943c191f3b6c35dbe0f9758cbb72ee1ea23
MD5 cddfafe1bc6d62abbdb343e50533ca98
BLAKE2b-256 84c147b260110ff64c9f5eed33bafcd69ae26183ac798e5b66ec2f463da235e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page