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

vpm: add list command (#5888)

This commit is contained in:
Lukas Neubert
2020-07-20 16:39:37 +02:00
committed by GitHub
parent c60948e52e
commit c93467bca5
3 changed files with 18 additions and 3 deletions

View File

@ -31,7 +31,8 @@ V supports the following commands:
remove Remove a module that was installed from VPM.
search Search for a module from VPM.
update Update an installed module from VPM.
outdated List installed modules that need updates.
list List all installed modules.
outdated Show installed modules that need updates.
* Others:
build Build a V code in the provided path (the default, so you can skip the word `build`).
translate Translate C code to V (coming soon in 0.3).

View File

@ -70,7 +70,7 @@ fn main() {
println('Translating C to V will be available in V 0.3')
return
}
'search', 'install', 'update', 'outdated', 'remove' {
'search', 'install', 'update', 'outdated', 'list', 'remove' {
util.launch_tool(prefs.is_verbose, 'vpm', os.args[1..])
return
}