Passingwind.AbpProjectTools 0.6.3

This package has a SemVer 2.0.0 package version: 0.6.3+3109c64f.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Passingwind.AbpProjectTools --version 0.6.3                
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 Passingwind.AbpProjectTools --version 0.6.3                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Passingwind.AbpProjectTools&version=0.6.3                
nuke :add-package Passingwind.AbpProjectTools --version 0.6.3                

DotNet Cli 工具

一个简单的Abp代码辅助生成工具。

NuGet

一键生成实体的
  • repository
  • app service
  • http controller (从 app service 生成)
  • typescript types (基于 openapi)
  • typescript service (基于 openapi)

如何使用

  1. 安装 dotnet tool install --global Passingwind.AbpProjectTools
  2. 在项目根目录,打开命令行,输入 abptool gen backend <command> <options>

举例:生成实体 ProductRepository : abptool gen backend repository --project-name Demo --name Product --slu-dir d://work/MyProject

更多命令和参数使用 --help 查看

后端相关命令

> abptool gen backend --help

backend

Usage:
  AbpProjectTools [options] generate backend [command]

Options:
  --slu-dir <slu-dir> (REQUIRED)            The solution root dir
  --name <name> (REQUIRED)                  The Domain entity name
  --project-name <project-name> (REQUIRED)  The project name
  --overwrite                               [default: False]
  --templates <templates>                   The template files directory
  -?, -h, --help                            Show help and usage information

Commands:
  domain-service                           生成一个DomainService文件
  repository                               生成对应的 IRepository 和 EfRepository 文件
  app-service                              生成对应的 AppService 文件
  http-controller                          生成 HttpAPI Controller 文件,基于 AppService

前端相关命令

> abptool gen fontend --help
fontend

Usage:
  AbpProjectTools [options] generate fontend [command]

Options:
  -?, -h, --help  Show help and usage information

Commands:
  ts                                        生成后端 api 对应的 typescript 的相关文件(types和service),基于 openapi 。
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
0.8.0 34 11/25/2024
0.7.2 65 8/25/2024
0.7.1 52 6/4/2024
0.7.0 102 1/28/2024
0.6.4 117 1/1/2024
0.6.3 92 12/13/2023
0.6.2 112 11/4/2023
0.6.1 72 10/29/2023
0.6.0 66 10/28/2023
0.5.9 99 9/6/2023
0.5.8 81 9/6/2023
0.5.7 100 8/28/2023
0.5.6 89 8/20/2023
0.5.5 96 7/29/2023
0.5.4 95 7/16/2023
0.5.3 100 7/16/2023
0.5.2 105 7/7/2023
0.5.1 98 7/4/2023
0.5.0 102 6/12/2023
0.4.2 131 1/26/2023
0.4.1 105 10/5/2022
0.4.0 119 9/2/2022
0.3.10 131 6/26/2022
0.3.9 130 6/12/2022
0.3.8 138 5/21/2022
0.3.7 165 12/19/2021
0.3.6 164 12/15/2021
0.3.5 166 12/7/2021
0.3.4 157 12/7/2021
0.3.3 145 11/28/2021
0.3.2 173 11/16/2021
0.3.1 175 11/10/2021
0.3.0 386 10/25/2021
0.2.0 367 10/21/2021
0.1.0 385 10/14/2021