MyCliApp 1.0.7
dotnet tool install --global MyCliApp --version 1.0.7
dotnet new tool-manifest
dotnet tool install --local MyCliApp --version 1.0.7
#tool dotnet:?package=MyCliApp&version=1.0.7
nuke :add-package MyCliApp --version 1.0.7
MyCliApp
MyCliApp is a command-line application that allows you to generate various code components such as classes, interfaces, and templates for your project. This README provides an overview of the application's usage, commands, and how to get started.
Table of Contents
Usage
To use MyCliApp, Install this tool by using command
dotnet tool install --global MyCliApp --version 1.0.7
check current version <a href="https://www.nuget.org/packages/MyCliApp"> here</a>
Available Commands
MyCliApp supports the following commands:
Usage: dt [command] [type] [classname]
For command line help dt --help
Available commands:
- generate, g: Generate class, interface, or template.
Available types:
all: Generate required classes or interfaces based on the folder structure.
- Example:
dt genrate all ClassName
- Example:
template, t: Add folder structure following the repository pattern.
- Example:
dt genrate template rp(Repository Pattern).
- Example:
class, c: Generate a class in the 'Models' folder.
- Example:
dt genrate class User
- Example:
rclass, rc: Generate a repository class in the 'Repositories' folder.
- Example:
dt genrate rclass UserGenrates UserRepository.
- Example:
sclass, sc: Generate a service class in the 'Services' folder.
- Example:
dt genrate sclass UserGenrates UserService.
- Example:
efclass, efc: Generate an Entity Framework context class in the 'Repositories/Contexts' folder.
- Example:
dt genrate efclass UserGenrates UserContext.
- Example:
interface, i: Generate an interface in the calling directory.
- Example:
dt genrate interface UserGenrates IUserInterface.
- Example:
rinterface, ri: Generate a repository interface in the 'Repositories/Interfaces' folder.
- Example:
dt genrate rinterface UserGenrates IUserRepository.
- Example:
sinterface, si: Generate a service interface in the 'Services/Interfaces' folder.
- Example:
dt genrate sinterface UserGenrates IUserService.
- Example:
controller, co: Generate a controller in the 'Controllers' folder.
- Example:
dt genrate controller UserGenrates UserController.
- Example:
Contributing
If you'd like to contribute to this project, please fork the repository and create a pull request with your changes. We welcome contributions and improvements.
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.