Browse Source
Merge pull request #16684 from abpframework/auto-merge/rel-7-2/1969
Merge branch dev with rel-7.2
pull/16686/head
Masum ULU
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
1 deletions
-
docs/en/CLI.md
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/Services/SourceCodeDownloadService.cs
|
|
|
@ -364,8 +364,11 @@ abp generate-proxy -t csharp -url https://localhost:44302/ |
|
|
|
* `--api-name` or `-a`: The name of the API endpoint defined in the `/src/environments/environment.ts`. Default value: `default`. |
|
|
|
* `--source` or `-s`: Specifies the Angular project name to resolve the root namespace & API definition URL from. Default value: `defaultProject`. |
|
|
|
* `--target`: Specifies the Angular project name to place generated code in. Default value: `defaultProject`. |
|
|
|
* `--module`: Backend module name. Default value: `app`. |
|
|
|
* `--entry-point`: Targets the Angular project to place the generated code. |
|
|
|
* `--url`: Specifies api definition url. Default value is API Name's url in environment file. |
|
|
|
* `--prompt` or `-p`: Asks the options from the command line prompt (for the unspecified options). |
|
|
|
|
|
|
|
* `js`: JavaScript. work in the `*.Web` project directory. There are some additional options for this client: |
|
|
|
* `--output` or `-o`: JavaScript file path or folder to place generated code in. |
|
|
|
* `--module` or `-m`: Specifies the name of the backend module you wish to generate proxies for. Default value: `app`. |
|
|
|
|
|
|
|
@ -33,7 +33,7 @@ public class SourceCodeDownloadService : ITransientDependency |
|
|
|
|
|
|
|
public async Task DownloadModuleAsync(string moduleName, string outputFolder, string version, string gitHubAbpLocalRepositoryPath, string gitHubVoloLocalRepositoryPath, AbpCommandLineOptions options) |
|
|
|
{ |
|
|
|
Logger.LogInformation($"Downloading source code of {moduleName} (v{version ?? "Latest"})"); |
|
|
|
Logger.LogInformation($"Downloading source code of {moduleName} ({(version != null ? "v" + version : "Latest")})"); |
|
|
|
Logger.LogInformation("Output folder: " + outputFolder); |
|
|
|
|
|
|
|
var result = await ModuleProjectBuilder.BuildAsync( |
|
|
|
|