Browse Source
Merge pull request #770 from colinin/upt-7.0.1
feat(cli): update generate-view usage.
pull/786/head
yx lin
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
4 deletions
-
aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN/Abp/Cli/Commands/GenerateViewCommand.cs
-
aspnet-core/modules/cli/LINGYUN.Abp.Cli/Properties/launchSettings.json
|
|
@ -87,9 +87,11 @@ public class GenerateViewCommand : IConsoleCommand, ITransientDependency |
|
|
sb.AppendLine(""); |
|
|
sb.AppendLine(""); |
|
|
sb.AppendLine("Options:"); |
|
|
sb.AppendLine("Options:"); |
|
|
sb.AppendLine(""); |
|
|
sb.AppendLine(""); |
|
|
sb.AppendLine("-t<type> Generate ui script(vben-view、vben-model)."); |
|
|
sb.AppendLine("-t|--type <type> The name of generate type (vben-view)."); |
|
|
sb.AppendLine("See the documentation for more info: https://docs.abp.io/en/abp/latest/CLI"); |
|
|
sb.AppendLine(" vben-view"); |
|
|
|
|
|
sb.AppendLine(" -o|--output <output-name> js/vue file path or folder to place generated code in."); |
|
|
|
|
|
sb.AppendLine("-u|--url <url> API definition URL from."); |
|
|
|
|
|
sb.AppendLine("-m|--module <module-name> (default: 'app') The name of the backend module you wish to generate proxies for."); |
|
|
sb.AppendLine(""); |
|
|
sb.AppendLine(""); |
|
|
sb.AppendLine("Examples:"); |
|
|
sb.AppendLine("Examples:"); |
|
|
sb.AppendLine(""); |
|
|
sb.AppendLine(""); |
|
|
|
|
|
@ -2,7 +2,7 @@ |
|
|
"profiles": { |
|
|
"profiles": { |
|
|
"LINGYUN.Abp.Cli": { |
|
|
"LINGYUN.Abp.Cli": { |
|
|
"commandName": "Project", |
|
|
"commandName": "Project", |
|
|
"commandLineArgs": "generate-view -t vben-view -m identity -o D:\\Projects\\Development\\view-script -url http://10.21.15.28:30015/" |
|
|
"commandLineArgs": "generate-view -t vben-view -m identity -o D:\\Projects\\Development\\view-script -url http://127.0.0.1:30015/" |
|
|
//"commandLineArgs": "generate-proxy -t ts -asp uni-app-axios -u http://127.0.0.1:30025 -m Platform -o D:\\Projects\\Development\\type-script" |
|
|
//"commandLineArgs": "generate-proxy -t ts -asp uni-app-axios -u http://127.0.0.1:30025 -m Platform -o D:\\Projects\\Development\\type-script" |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|