1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vpm: support v install ui https://github.com/vlang/markdown (git urls by default), cleanup vpm.v (#11189)

This commit is contained in:
mahdi ramezaan zaade
2021-08-18 15:35:10 +04:30
committed by GitHub
parent e07678d6f3
commit eee71cebd4
3 changed files with 408 additions and 272 deletions

View File

@@ -2463,12 +2463,13 @@ v install ui
```
Modules could install directly from git or mercurial repositories.
The -git flag is the default for repository urls, and can be skipped.
```powershell
v install [--git|--hg] [url]
v install [-git|-hg] [url]
```
**Example:**
```powershell
v install --git https://github.com/vlang/markdown
v install https://github.com/vlang/markdown
```
Removing a module with v: