Browse Source

Merge pull request #6924 from abpframework/auto-merge/rel-4-1/23

Merge branch dev with rel-4.1
pull/6939/head
maliming 6 years ago
committed by GitHub
parent
commit
59efc93da6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/en/CLI.md
  2. 6
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/AddModuleCommand.cs

2
docs/en/CLI.md

@ -168,7 +168,7 @@ abp add-package Volo.Abp.MongoDB
Adds a [multi-package application module](Modules/Index) to a solution by finding all packages of the module, finding related projects in the solution and adding each package to the corresponding project in the solution.
It can also create a new module for your solution and add it to your solution. See `--new-template` option.
It can also create a new module for your solution and add it to your solution. See `--new` option.
> A business module generally consists of several packages (because of layering, different database provider options or other reasons). Using `add-module` command dramatically simplifies adding a module to a solution. However, each module may require some additional configurations which is generally indicated in the documentation of the related module.

6
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/AddModuleCommand.cs

@ -81,11 +81,11 @@ namespace Volo.Abp.Cli.Commands
sb.AppendLine(" abp add-module <module-name> [options]");
sb.AppendLine("");
sb.AppendLine("Options:");
sb.AppendLine(" --new-template Creates a fresh new module (speсialized for your solution) and adds it your solution.");
sb.AppendLine(" --with-source-code Downloads the source code of the module to your solution folder. (Always True if `--new-template` is used.)");
sb.AppendLine(" --new Creates a fresh new module (speсialized for your solution) and adds it your solution.");
sb.AppendLine(" --with-source-code Downloads the source code of the module to your solution folder. (Always True if `--new` is used.)");
sb.AppendLine(" --add-to-solution-file Adds the downloaded/created module to your solution file. (only available when --with-source-code used)");
sb.AppendLine(" -s|--solution <solution-file> Specify the solution file explicitly.");
sb.AppendLine(" --skip-db-migrations <boolean> Specify if a new migration will be added or not. (Always True if `--new-template` is used.)");
sb.AppendLine(" --skip-db-migrations <boolean> Specify if a new migration will be added or not. (Always True if `--new` is used.)");
sb.AppendLine(" -sp|--startup-project <startup-project-path> Relative path to the project folder of the startup project. Default value is the current folder.");
sb.AppendLine(" -v|--version <version> Specify the version of the module. Default is your project's ABP version.");
sb.AppendLine("");

Loading…
Cancel
Save