-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
130 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
title: Docs For CLI | ||
description: How to use VMR in CLI Mode. | ||
--- | ||
|
||
|
||
## Show help info. | ||
|
||
```bash | ||
vmr -h | ||
``` | ||
|
||
## Show available SDK list. | ||
|
||
```bash | ||
vmr show | ||
``` | ||
|
||
## Show available version list for an SDK. | ||
|
||
```bash | ||
vmr search <sdk-name> | ||
``` | ||
|
||
## Show local installed versions for an SDK. | ||
|
||
```bash | ||
vmr local <sdk-name> | ||
``` | ||
|
||
## Install and switch to the specific version of an SDK globally. | ||
|
||
```bash | ||
vmr use <sdk-name@version> | ||
``` | ||
|
||
## Temporarily switch to specific version of an SDK in current termianl session. | ||
|
||
```bash | ||
vmr use -s <sdk-name@version> | ||
``` | ||
|
||
## Lock the SDK version for current project. | ||
|
||
```bash | ||
vmr use -l <sdk-name@version> | ||
``` | ||
|
||
## Uninstall the specific version of an SDK. (But not the one currently in use.) | ||
|
||
```bash | ||
vmr uninstall <sdk-name@version> | ||
``` | ||
|
||
## Uninstall all local installed versions for an SDK. (Including the one currently in use.) | ||
|
||
```bash | ||
vmr uninstall <sdk-name@all> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: Documents | ||
title: Docs For TUI | ||
description: How to use VMR. | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
title: CLI教程 | ||
description: 在命令行模式下使用VMR. | ||
--- | ||
|
||
## 显示帮助信息 | ||
|
||
```bash | ||
vmr -h | ||
``` | ||
|
||
## 显示可以安装的SDK列表 | ||
|
||
```bash | ||
vmr show | ||
``` | ||
|
||
## 搜索某个SDK在当前系统环境下的可安装版本 | ||
|
||
```bash | ||
vmr search <sdk-name> | ||
``` | ||
|
||
## 搜索某个SDK的已安装版本 | ||
|
||
```bash | ||
vmr local <sdk-name> | ||
``` | ||
|
||
## 全局安装或者切换到某个SDK的某个版本 | ||
|
||
```bash | ||
vmr use <sdk-name@version> | ||
``` | ||
|
||
## 在session模式(临时)安装或切换到某个SDK的某个版本 | ||
|
||
```bash | ||
vmr use -s <sdk-name@version> | ||
``` | ||
|
||
## 对当前项目锁定SDK版本 | ||
|
||
```bash | ||
vmr use -l <sdk-name@version> | ||
``` | ||
|
||
## 卸载某个SDK的某个版本(不包含正在使用的当前版本) | ||
|
||
```bash | ||
vmr uninstall <sdk-name@version> | ||
``` | ||
|
||
## 卸载某个SDK的所有版本(包含正在使用的当前版本) | ||
|
||
```bash | ||
vmr uninstall <sdk-name@all> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: 教程 | ||
title: TUI教程 | ||
description: 如何使用VMR. | ||
--- | ||
|
||
|