Browse Source

add: new parameters to cli document

pull/18963/head
masumulu28 3 years ago
parent
commit
004134d48b
  1. 17
      docs/en/CLI.md

17
docs/en/CLI.md

@ -39,6 +39,7 @@ Here, is the list of all available commands before explaining their details:
* **`generate-proxy`**: Generates client side proxies to use HTTP API endpoints. * **`generate-proxy`**: Generates client side proxies to use HTTP API endpoints.
* **`remove-proxy`**: Removes previously generated client side proxies. * **`remove-proxy`**: Removes previously generated client side proxies.
* **`switch-to-preview`**: Switches to the latest preview version of the ABP Framework. * **`switch-to-preview`**: Switches to the latest preview version of the ABP Framework.
* **`switch-to-prerc`**: Updates npm packages in the projects to prerc period version with `preview` tag.
* **`switch-to-nightly`**: Switches to the latest [nightly builds](Nightly-Builds.md) of the ABP related packages on a solution. * **`switch-to-nightly`**: Switches to the latest [nightly builds](Nightly-Builds.md) of the ABP related packages on a solution.
* **`switch-to-stable`**: Switches to the latest stable versions of the ABP related packages on a solution. * **`switch-to-stable`**: Switches to the latest stable versions of the ABP related packages on a solution.
* **`switch-to-local`**: Changes NuGet package references on a solution to local project references. * **`switch-to-local`**: Changes NuGet package references on a solution to local project references.
@ -49,7 +50,8 @@ Here, is the list of all available commands before explaining their details:
* **`bundle`**: Generates script and style references for ABP Blazor and MAUI Blazor project. * **`bundle`**: Generates script and style references for ABP Blazor and MAUI Blazor project.
* **`install-libs`**: Install NPM Packages for MVC / Razor Pages and Blazor Server UI types. * **`install-libs`**: Install NPM Packages for MVC / Razor Pages and Blazor Server UI types.
* **`clear-download-cache`** Clears the templates download cache. * **`clear-download-cache`** Clears the templates download cache.
* **`trust-version`**: If pass this parameter CLI won't check template name from API. Which means you add and use custom template with custom version in the local templates folder
### help ### help
Shows basic usages of the ABP CLI. Shows basic usages of the ABP CLI.
@ -446,6 +448,19 @@ abp switch-to-nightly [options]
* `--directory` or `-d`: Specifies the directory. The solution or project should be in that directory or in any of its sub directories. If not specified, default is the current directory. * `--directory` or `-d`: Specifies the directory. The solution or project should be in that directory or in any of its sub directories. If not specified, default is the current directory.
### switch-to-prerc
You can use this command to switch your solution or project to latest `prerc` preview version of the ABP framework packages.
Usage:
````bash
abp switch-to-nightly [options]
````
#### Options
* `--directory` or `-d`: Specifies the directory. The solution or project should be in that directory or in any of its sub directories. If not specified, default is the current directory.
### switch-to-stable ### switch-to-stable
If you're using the ABP Framework preview packages (including nightly previews), you can switch back to latest stable version using this command. If you're using the ABP Framework preview packages (including nightly previews), you can switch back to latest stable version using this command.

Loading…
Cancel
Save