From af856f9d383245a69904abea414a31791d5f6400 Mon Sep 17 00:00:00 2001 From: ahmetfarukulu Date: Thu, 1 Aug 2024 14:35:26 +0300 Subject: [PATCH 1/2] CLI documentation 'check-extensions' section added --- docs/en/cli/index.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/en/cli/index.md b/docs/en/cli/index.md index 8549e9d05f..26acb087d1 100644 --- a/docs/en/cli/index.md +++ b/docs/en/cli/index.md @@ -23,6 +23,7 @@ dotnet tool update -g Volo.Abp.Studio.Cli While each command may have a set of options, there are some global options that can be used with any command; * `--skip-cli-version-check`: Skips to check the latest version of the ABP CLI. If you don't specify, it will check the latest version and shows a warning message if there is a newer version of the ABP CLI. +- `--skip-extension-version-check` or `-sevc`: Skips to check the latest version of the ABP CLI extensions. If you don't specify, it will check the latest version and download the latest version if there is a newer version of the ABP CLI extensions. * `--old`: ABP CLI has two variations: `Volo.Abp.Studio.Cli` and `Volo.Abp.Cli`. New features/templates are added to the `Volo.Abp.Studio.Cli`. But if you want to use the old version, you can use this option **at the end of your commands**. For example, `abp new Acme.BookStore --old`. ## Commands @@ -64,6 +65,7 @@ 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. +* **`check-extensions`**: Checks the latest version of the ABP CLI extensions. ### help @@ -919,6 +921,16 @@ abp install-libs [options] * ```--working-directory``` or ```-wd```: Specifies the working directory. This option is useful when executing directory doesn't contain a project file. +### check-extensions + +This command checks the installed ABP CLI extensions and updates them if necessary. + +Usage: + +````bash +abp check-extensions +```` + ## See Also * [Examples for the new command](./new-command-samples.md) From 738f5e2afc12f66f1b6c566b345517e64220d7e4 Mon Sep 17 00:00:00 2001 From: ahmetfarukulu Date: Thu, 1 Aug 2024 15:45:15 +0300 Subject: [PATCH 2/2] Additional global options added --- docs/en/cli/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/cli/index.md b/docs/en/cli/index.md index 26acb087d1..7b4dbd9502 100644 --- a/docs/en/cli/index.md +++ b/docs/en/cli/index.md @@ -22,9 +22,10 @@ dotnet tool update -g Volo.Abp.Studio.Cli While each command may have a set of options, there are some global options that can be used with any command; -* `--skip-cli-version-check`: Skips to check the latest version of the ABP CLI. If you don't specify, it will check the latest version and shows a warning message if there is a newer version of the ABP CLI. +* `--skip-cli-version-check` or `-scvc`: Skips to check the latest version of the ABP CLI. If you don't specify, it will check the latest version and shows a warning message if there is a newer version of the ABP CLI. - `--skip-extension-version-check` or `-sevc`: Skips to check the latest version of the ABP CLI extensions. If you don't specify, it will check the latest version and download the latest version if there is a newer version of the ABP CLI extensions. * `--old`: ABP CLI has two variations: `Volo.Abp.Studio.Cli` and `Volo.Abp.Cli`. New features/templates are added to the `Volo.Abp.Studio.Cli`. But if you want to use the old version, you can use this option **at the end of your commands**. For example, `abp new Acme.BookStore --old`. +* `--help` or `-h`: Shows help for the specified command. ## Commands