Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Studio: cli module section updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetfarukulu committed Mar 4, 2024
1 parent c5c9fc4 commit 7dba2c2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions en/studio/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,23 @@ abpc new-module <module-name> [options]
Example:

````bash
abpc new-module Acme.BookStore
abpc new-module Acme.BookStore -t module:ddd
````

#### options

* `--template` or `-t`: Specifies the template name. Default template name is `empty`, which generates a empty module. Module templates are provided by the main template, see their own startup template documentation for available modules. `empty` template is available for all solution structure.
* `--template` or `-t`: Specifies the template name. Default template name is `empty`, which generates a empty module. Module templates are provided by the main template, see their own startup template documentation for available modules. `empty` and `module:ddd` template is available for all solution structure.
* `--output-folder` or `-o`: Specifies the output folder. Default value is the current directory.
* `--target-solution` or `-ts`: If set, the new module will be added to the given solution. Otherwise the new module will added to the closest solution in the file system. If no solution found, it will throw an error.
* `--solution-folder` or `-sf`: Specifies the target folder in the [Solution Explorer](./solution-explorer.md#folder) virtual folder system.
* `--database-provider` or `-d`: Specifies the database provider. Default provider is `ef`. This option is only available if the module template supports it. You can add multiple values separated by commas, such as `ef, mongodb` if the module template supports it. Available providers:
* `ef`: Entity Framework Core.
* `mongodb`: MongoDB.
* `--ui-framework` or `-u`: Specifies the UI framework. Default framework is `mvc`. This option is only available if the module template supports it. You can add multiple values separated by commas, such as `mvc,angular` if the module template supports it. Available frameworks:
* `mvc`: ASP.NET Core MVC.
* `angular`: Angular UI.
* `blazor`: Blazor UI.
* `blazor-server`: Blazor Server UI.

### new-package

Expand Down

0 comments on commit 7dba2c2

Please sign in to comment.