Browse Source

Merge pull request #4250 from abpframework/maliming/console-app

Document the Console application startup template.
pull/4279/head
Halil İbrahim Kalkan 6 years ago
committed by GitHub
parent
commit
b7ba11fc4e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docs/en/CLI.md
  2. 5
      docs/en/Startup-Templates/Console.md
  3. 1
      docs/en/Startup-Templates/Index.md
  4. 4
      docs/en/docs-nav.json
  5. 1
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/NewCommand.cs

1
docs/en/CLI.md

@ -87,6 +87,7 @@ abp new Acme.BookStore
* `mongodb`: MongoDB.
* **`module`**: [Module template](Startup-Templates/Module.md). Additional options:
* `--no-ui`: Specifies to not include the UI. This makes possible to create service-only modules (a.k.a. microservices - without UI).
* **`console`**: [Console template](Startup-Templates/Console.md).
* `--output-folder` or `-o`: Specifies the output folder. Default value is the current directory.
* `--version` or `-v`: Specifies the ABP & template version. It can be a [release tag](https://github.com/abpframework/abp/releases) or a [branch name](https://github.com/abpframework/abp/branches). Uses the latest release if not specified. Most of the times, you will want to use the latest version.
* `--template-source` or `-ts`: Specifies a custom template source to use to build the project. Local and network sources can be used(Like `D\localTemplate` or `https://<your url>.zip`).

5
docs/en/Startup-Templates/Console.md

@ -0,0 +1,5 @@
# Console Startup Template
## Introduction
This template implements [how to start ABP from scratch with minimal dependencies](../Getting-Started-Console-Application.md).

1
docs/en/Startup-Templates/Index.md

@ -4,6 +4,7 @@ While you can start with an empty project and add needed packages manually, star
* [**app**](Application.md): Application template.
* [**module**](Module.md): Module/service template.
* [**console**](Console.md): Console template.

4
docs/en/docs-nav.json

@ -520,6 +520,10 @@
{
"text": "Module",
"path": "Startup-Templates/Module.md"
},
{
"text": "Console",
"path": "Startup-Templates/Console.md"
}
]
},

1
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/NewCommand.cs

@ -226,6 +226,7 @@ namespace Volo.Abp.Cli.Commands
sb.AppendLine(" abp new Acme.BookStore -d mongodb -o d:\\my-project");
sb.AppendLine(" abp new Acme.BookStore -t module");
sb.AppendLine(" abp new Acme.BookStore -t module --no-ui");
sb.AppendLine(" abp new Acme.BookStore -t console");
sb.AppendLine(" abp new Acme.BookStore -ts \"D:\\localTemplate\\abp\"");
sb.AppendLine(" abp new Acme.BookStore -csf false");
sb.AppendLine(" abp new Acme.BookStore --local-framework-ref --abp-path \"D:\\github\\abp\"");

Loading…
Cancel
Save