From 004134d48be86f5dd832e36f8e66453de7d8ea79 Mon Sep 17 00:00:00 2001 From: masumulu28 Date: Wed, 7 Feb 2024 15:53:03 +0300 Subject: [PATCH 1/3] add: new parameters to cli document --- docs/en/CLI.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/en/CLI.md b/docs/en/CLI.md index 8c1b320861..baf5e23110 100644 --- a/docs/en/CLI.md +++ b/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. * **`remove-proxy`**: Removes previously generated client side proxies. * **`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-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. @@ -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. * **`install-libs`**: Install NPM Packages for MVC / Razor Pages and Blazor Server UI types. * **`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 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. +### 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 If you're using the ABP Framework preview packages (including nightly previews), you can switch back to latest stable version using this command. From 052c9810e9aaab1f2dce0a6ecc7666b8a1e30de7 Mon Sep 17 00:00:00 2001 From: masumulu28 Date: Wed, 7 Feb 2024 16:03:39 +0300 Subject: [PATCH 2/3] revert switch-to-prerc command descriptions --- docs/en/CLI.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/docs/en/CLI.md b/docs/en/CLI.md index baf5e23110..f7045544e6 100644 --- a/docs/en/CLI.md +++ b/docs/en/CLI.md @@ -39,7 +39,6 @@ Here, is the list of all available commands before explaining their details: * **`generate-proxy`**: Generates client side proxies to use HTTP API endpoints. * **`remove-proxy`**: Removes previously generated client side proxies. * **`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-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. @@ -448,19 +447,6 @@ 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. -### 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 If you're using the ABP Framework preview packages (including nightly previews), you can switch back to latest stable version using this command. From 2ede6b0a6461f7df4d9fce51a28efa8d55c02a51 Mon Sep 17 00:00:00 2001 From: Engincan VESKE Date: Wed, 7 Feb 2024 16:24:51 +0300 Subject: [PATCH 3/3] Update CLI.md --- docs/en/CLI.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/CLI.md b/docs/en/CLI.md index f7045544e6..4c79453ed7 100644 --- a/docs/en/CLI.md +++ b/docs/en/CLI.md @@ -48,8 +48,8 @@ Here, is the list of all available commands before explaining their details: * **`logout`**: Logouts from your computer if you've authenticated before. * **`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. -* **`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 +* **`clear-download-cache`**: Clears the templates download cache. +* **`trust-version`**: Trusts the user's version and does not check if the version exists or not. If the template with the given version is found in the cache, it will be used, otherwise throws an exception. ### help