Appearance
安装模板
dotnet new install LandWindAdmin.Template安装指定版本
dotnet new install LandWindAdmin.Template::0.4.2帮助参数
dotnet new LandWindAdmin -hdotnetcli
板选项:
-p:na, --no-apiui Disable api document support
类型: bool
默认: false
-nt, --no-task-scheduler Disable task scheduler support
类型: bool
默认: false
-nm, --no-migrator Disable migrator project support
类型: bool
默认: false
-nc, --no-cap Cap for building distributed transaction and eventbus
类型: bool
默认: false
-md, --merge-db Merge admindb to maindb support
类型: bool
默认: false
-ms, --micro-service Micro service project support
类型: bool
默认: false
-db, --db-type <MySql|PostgreSQL|...> The database for the project
类型: choice
MySql MySql
PostgreSQL PostgreSQL
SqlServer SqlServer
Oracle Oracle
Sqlite Sqlite
Firebird Firebird
MsAccess MsAccess
Dameng 达梦
ShenTong 神通
KingbaseES 人大金仓
Gbase 南大通用
默认: Sqlite
-vv, --vue-version <Vue2|Vue3> The vue version for the project
类型: choice
Vue3 Vue3
Vue2 Vue2
默认: Vue3创建项目
合并admin和app数据库
dotnet new LandWindAdmin -n MyCompanyName.MyProjectName -md true合并 且 mysql作为数据库
dotnet new LandWindAdmin -n MyCompanyName.MyProjectName -md true -db MySql查看已安装的模板列表
dotnetcli
dotnet new list
dotnet new -l