Browse Source

Merge pull request #12733 from abpframework/EngincanV/docs-cli-logininfo

Add `login-info` command to CLI documentation
pull/12739/head
liangshiwei 4 years ago
committed by GitHub
parent
commit
92a61feb20
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      docs/en/CLI.md
  2. 11
      docs/zh-Hans/CLI.md

11
docs/en/CLI.md

@ -41,6 +41,7 @@ Here, is the list of all available commands before explaining their details:
* **`switch-to-stable`**: Switches to the latest stable versions of the ABP related packages on a solution.
* **`translate`**: Simplifies to translate localization files when you have multiple JSON [localization](Localization.md) files in a source control repository.
* **`login`**: Authenticates on your computer with your [abp.io](https://abp.io/) username and password.
* **`login-info`**: Shows the current user's login information.
* **`logout`**: Logouts from your computer if you've authenticated before.
* **`bundle`**: Generates script and style references for an ABP Blazor project.
* **`install-libs`**: Install NPM Packages for MVC / Razor Pages and Blazor Server UI types.
@ -470,11 +471,19 @@ abp login <username> -p <password> -o <organization> # You can enter both your
A new login with an already active session overwrites the previous session.
### login-info
Shows your login information such as **Name**, **Surname**, **Username**, **Email Address** and **Organization**.
```bash
abp login-info
```
### logout
Logs you out by removing the session token from your computer.
```
```bash
abp logout
```

11
docs/zh-Hans/CLI.md

@ -39,6 +39,7 @@ dotnet tool update -g Volo.Abp.Cli
* **`switch-to-stable`**: 切换解决方案所有ABP相关包为最新的稳定版本.
* **`translate`**: 当源代码控制存储库中有多个JSON[本地化](Localization.md文件时,可简化翻译本地化文件的过程.
* **`login`**: 使用你在[abp.io](https://abp.io/)的用户名和密码在你的计算机上认证.
* **`login-info`**: 展示当前登录用户信息.
* **`logout`**: 在你的计算机注销认证.
* **`install-libs`**: 为 MVC / Razor Pages 和 Blazor Server UI 类型安装NPM包.
@ -385,6 +386,14 @@ abp login <username> -p <password> -o <organization> # You can enter both your
请注意,新的登录将终止先前的会话并创建一个新的会话.
### login-info
展示你的登录信息, 如 **名称** , **用户名** , **地址****组织**.
```bash
abp login-info
```
### logout
通过从计算机中删除会话令牌来注销.
@ -407,4 +416,4 @@ abp install-libs [options]
#### Options
* ```--working-directory``` 或 ```-wd```: 指定工作目录, 当执行目录不包含项目文件时会很有用.
* ```--working-directory``` 或 ```-wd```: 指定工作目录, 当执行目录不包含项目文件时会很有用.

Loading…
Cancel
Save