ater.droplet.cli 7.1.0-rc4-0427

This is a prerelease version of ater.droplet.cli.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global ater.droplet.cli --version 7.1.0-rc4-0427                
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 ater.droplet.cli --version 7.1.0-rc4-0427                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ater.droplet.cli&version=7.1.0-rc4-0427&prerelease                
nuke :add-package ater.droplet.cli --version 7.1.0-rc4-0427                

Description(说明)

This is a code assistance tool that provides code generation functions for ASP.NET Core projects and Typescript front-end projects, and supports command line and graphical interface operations. It is recommended to use the Ater.web template to create projects

这是一个代码辅助工具,面向ASP.NET Core项目以及Typescript前端项目提供代码生成的功能,支持命令行与图形界面操作。请使用 Ater.web 模板创建项目。

It can help developers generate common code templates according to entity models (. cs files), including:

  • Dto files, add, update, query, list and other Dto files
  • Data store layer:entity DbSet wrapper
  • Manager layer:business implementation code
  • Controller API
  • Typescript interface type
  • Angular or Axios request service
  • Angular Basic CURD Page

可以帮助开发者根据实体模型(.cs文件)生成常用的代码模板,包括:

  • Dto文件,增加、更新、查询、列表等Dto文件
  • 数据仓储层代码,对实体的数据操作封装
  • Manager层,业务实现代码
  • 生成部分测试代码
  • 控制器接口
  • Typescript 接口类型
  • Angular或Axios 的请求服务
  • Angular基础CURD页面

Install(安装)

Check package version first!

首先检查包版本,工具依赖.NET SDK,对应关系如下:

Package Version .NET SDK Version
6.x 6.0
7.x 7.0

If you want to use it alone, please use the 'dotnet tool' command to install it, such as:

如果你想单独使用,请使用dotnet tool命令安装,如:

dotnet tool install --global ater.droplet.cli

please use the latest version from nuget!

请到nuget中查询最新版本!

Usage(使用)

⭐(Use Web UI)使用图形界面

One command to start the UI interface and enjoy it!

一条命令启动UI界面!

droplet studio

Show entities and generate codes!

查看实体模型,并根据实体模型生成相应的代码:

entities

generate actions

选择要生成的内容

generate-actons

edit dtos

在线编辑dto

edit dtos

front-end support

前端内容生成

front-end

Use command line(使用命令行)

You can also use droplet --help to view command help information.

Use droplet [command] --help to view specific command help information.

You can also view Online Documentation.

你可以使用droplet --help 查看命令帮助信息。

或者使用droplet [command] --help 查看具体命令帮助信息。

也可以查看在线文档

Product 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. 
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
7.2.4 210 3/22/2024
7.2.3 199 3/21/2024
7.2.2 212 1/19/2024
7.2.1 348 10/17/2023
7.1.5 236 8/18/2023
7.1.4.1 194 7/21/2023
7.1.4 189 6/6/2023
7.1.3 191 6/5/2023
7.1.2 160 5/24/2023
7.1.1 204 5/19/2023
7.1.0 208 5/15/2023
7.1.0-rc4-0427 270 4/27/2023
7.1.0-rc4-0426 293 4/26/2023
7.1.0-rc3 291 4/21/2023
7.1.0-pre2 373 4/18/2023
7.1.0-pre1 298 4/17/2023
7.0.7.1 279 3/6/2023
7.0.7 281 2/27/2023
7.0.6 356 1/31/2023
7.0.5 386 1/9/2023
7.0.5-rc1 326 1/5/2023
7.0.4-rc3 321 1/5/2023
7.0.4-beta2 360 1/3/2023
7.0.4-beta 411 12/28/2022
7.0.3-beta 251 12/18/2022
7.0.0 711 11/24/2022
7.0.0-rc2 370 11/23/2022
7.0.0-rc1 410 11/22/2022
6.2.3 454 10/27/2022
6.2.0-beta1 344 9/28/2022
6.1.1-beta1 235 8/18/2022
6.1.0 417 8/11/2022
6.0.10 450 6/24/2022
6.0.9 469 5/27/2022
6.0.8 429 5/20/2022
6.0.7 444 5/18/2022
6.0.6 437 5/6/2022
6.0.5 446 5/5/2022
6.0.4 475 4/25/2022
6.0.2 496 2/21/2022
6.0.1 443 2/18/2022
6.0.1-RC 282 2/17/2022

1 studio 添加对swagger 配置编辑;
2 代码生成:前端支持对多个swagger内容生成对应的服务;
3 优化前端服务生成体验;
4 添加CSharp客户端请求生成(仅针对AtApi模板项目,不通用);
5 ng模板更新;
6 添加manager 测试内容;
7 优化命令行输出内容;
8 修复studio读取配置文件;
9 进一步提升CURD的代码生成;
10 添加项目配置修改;
11 代码生成加入覆盖选项;
12 移除实体监听功能;
13 添加生成状态展示;
14 添加模板配置功能;
其他细节完善;