From 38fc36371c37f30434dc10e5b02ff951a6a0bc4e Mon Sep 17 00:00:00 2001 From: Berkan Sasmaz Date: Mon, 27 Jan 2025 16:52:05 +0300 Subject: [PATCH 1/2] Update login command description in CLI document --- docs/en/cli/index.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/en/cli/index.md b/docs/en/cli/index.md index e79c36cb07..b3ca63d440 100644 --- a/docs/en/cli/index.md +++ b/docs/en/cli/index.md @@ -883,18 +883,13 @@ abp translate -c zh-Hans --online --deepl-auth-key ### login -Some features of the CLI requires to be logged in to ABP Platform. To login with your username write: +Some features of the CLI requires to be logged in to ABP Platform. The login command supports the following usage options: ```bash -abp login # Allows you to enter your password hidden -abp login -p # Specify the password as a parameter (password is visible) -abp login --organization # If you have multiple organizations, you need set your active organization -abp login -p -o # You can enter both your password and organization in the same command -abp login --device # Use device login flow +abp login # Opens a default browser to log in to ABP Platform via abp.io +abp login --device # Use device login flow ``` -> When using the -p parameter, be careful as your password will be visible. It's useful for CI/CD automation pipelines. - A new login with an already active session overwrites the previous session. ### login-info From 1ecf645685b83bbf39a0e57943fa88fe36f38d83 Mon Sep 17 00:00:00 2001 From: Engincan VESKE Date: Mon, 27 Jan 2025 17:03:02 +0300 Subject: [PATCH 2/2] Update index.md --- docs/en/cli/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/cli/index.md b/docs/en/cli/index.md index b3ca63d440..fa96b23772 100644 --- a/docs/en/cli/index.md +++ b/docs/en/cli/index.md @@ -883,7 +883,7 @@ abp translate -c zh-Hans --online --deepl-auth-key ### login -Some features of the CLI requires to be logged in to ABP Platform. The login command supports the following usage options: +Some features of the CLI requires to be logged in to ABP Platform. The login command supports the following usage options: ```bash abp login # Opens a default browser to log in to ABP Platform via abp.io