Open the related document page after adding a module via CLI

resolves https://github.com/abpframework/abp/issues/7870
pull/9304/head
Yunus Emre Kalkan 4 years ago
parent f0bb870698
commit e1b6609f8b

@ -10,8 +10,10 @@ namespace Volo.Abp.Cli.ProjectModification
public string EfCoreConfigureMethodName { get; set; }
public string DocumentationLinks { get; set; }
public List<NugetPackageInfo> NugetPackages { get; set; }
public List<NpmPackageInfo> NpmPackages { get; set; }
}
}
}

@ -131,6 +131,11 @@ namespace Volo.Abp.Cli.ProjectModification
await RunBundleForBlazorAsync(projectFiles, module);
ModifyDbContext(projectFiles, module, skipDbMigrations);
if (!string.IsNullOrWhiteSpace(module.DocumentationLinks))
{
CmdHelper.OpenWebPage(module.DocumentationLinks.Split(" ", StringSplitOptions.RemoveEmptyEntries)[0]);
}
}
private ModuleWithMastersInfo RemoveIncompatiblePackages(ModuleWithMastersInfo module, string version)

Loading…
Cancel
Save