Browse Source
Merge pull request #7092 from abpframework/Fix-Cli-Thanks-Page-Redirection
Fix Cli Thanks Page Redirection
pull/7093/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/NewCommand.cs
|
|
|
@ -59,6 +59,10 @@ namespace Volo.Abp.Cli.Commands |
|
|
|
{ |
|
|
|
Logger.LogInformation("Template: " + template); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
template = (await TemplateInfoProvider.GetDefaultAsync()).Name; |
|
|
|
} |
|
|
|
|
|
|
|
var version = commandLineArgs.Options.GetOrNull(Options.Version.Short, Options.Version.Long); |
|
|
|
if (version != null) |
|
|
|
@ -198,7 +202,8 @@ namespace Volo.Abp.Cli.Commands |
|
|
|
|
|
|
|
Logger.LogInformation($"'{projectName}' has been successfully created to '{outputFolder}'"); |
|
|
|
|
|
|
|
if (AppTemplateBase.IsAppTemplate(template ?? (await TemplateInfoProvider.GetDefaultAsync()).Name)) |
|
|
|
|
|
|
|
if (AppTemplateBase.IsAppTemplate(template)) |
|
|
|
{ |
|
|
|
var isCommercial = template == AppProTemplate.TemplateName; |
|
|
|
OpenThanksPage(uiFramework, databaseProvider, isTiered || commandLineArgs.Options.ContainsKey("separate-identity-server"), isCommercial); |
|
|
|
|