Skip to content

utilitydelta/net-core-cli-boilerplate

Repository files navigation

net-core-cli-boilerplate

.NET Core CLI Boilerplate

Goal

To create a starting point for new CLI projects that are to be build using .NET Core.

Features

Use a command-line parser to parse arguments provided to the cli, matching industry standard syntax, using verbs and -/-- parameters.

Dependency injection using AutoFac to create clean, testable code.

Unit testing to promote Test Driven Development (TDD).

Common logic for handling of Console read, output and error streams.

Handling Exit Codes to notify calling scripts of errors.