CodeCLI 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global CodeCLI --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local CodeCLI --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CodeCLI&version=1.0.0
nuke :add-package CodeCLI --version 1.0.0

CodeCLI

Introduction

The Code CLI is a command-line interface tool that you use to initialize, develop, scaffold, and maintain dotnet C# applications directly from a command shell.

Installation

Using the NuGet package manager console within Visual Studio run the following command:

Install-Package CodeCLI

Or using the .net core CLI from a terminal window:

dotnet add package CodeCLI

Usage

Invoke the tool on the command line through the dotnet code executable.

Open dotnet solution in Visual Studio

dotnet code .

Help

dotnet code --help

Generate Command

Generates and/or modifies files based on a schematic.

dotnet code generate --help

or

dotnet code g -h

##Sub Commands

  • C#
    • Class
    • Interface
    • Record
    • Enum
    • Service
  • ASP.NET
    • Controller
    • Minimal Api
    • Service Registration
  • MediatR
    • Request
    • Handler
  • Fluent Validation
    • Validator
  • Vertical slice (REPR)
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.1.4 107 3/30/2024
1.1.3 85 3/28/2024
1.1.2 117 3/28/2024
1.1.1 94 3/28/2024
1.1.0 105 3/27/2024
1.0.0 120 3/20/2024