v help: add all tool commands to `v help <command>` (#10419)
							parent
							
								
									635f045b14
								
							
						
					
					
						commit
						85e9300a78
					
				| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
Usage: v doctor
 | 
			
		||||
 | 
			
		||||
Display some useful info about your system necessary for bug reports.
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
Usage: v list
 | 
			
		||||
 | 
			
		||||
List all installed modules.
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
Usage: v outdated
 | 
			
		||||
 | 
			
		||||
List all installed modules that need updates.
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
Usage: v repl
 | 
			
		||||
 | 
			
		||||
This command runs the V REPL.
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,5 @@
 | 
			
		|||
Usage: v self
 | 
			
		||||
 | 
			
		||||
Rebuild V with the passed options.
 | 
			
		||||
 | 
			
		||||
Options: All other options are passed to the build command. (e.g. -prod)
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
Usage: v show
 | 
			
		||||
 | 
			
		||||
Display information about a module on vpm.
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,5 @@
 | 
			
		|||
Usage: v symlink
 | 
			
		||||
 | 
			
		||||
This command adds a symlink for the V compiler executable.
 | 
			
		||||
 | 
			
		||||
Note that on Unix systems this command requires write permissions to /usr/local/bin to work.
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
Usage: v tracev 
 | 
			
		||||
 | 
			
		||||
Produce a tracing version of the V compiler.
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
Usage: v up
 | 
			
		||||
 | 
			
		||||
Update the V compiler to the latest version from https://github.com/vlang/v.
 | 
			
		||||
 | 
			
		||||
Options:
 | 
			
		||||
  -v           - Print more details about the update.
 | 
			
		||||
  -prod        - Compile the updated V with the -prod flag.
 | 
			
		||||
| 
						 | 
				
			
			@ -6,5 +6,5 @@ Usage:
 | 
			
		|||
 | 
			
		||||
Options:
 | 
			
		||||
  -help        - Show usage info.
 | 
			
		||||
  -v           - Print more details about the performed operation.
 | 
			
		||||
  -v           - Print more details about the update.
 | 
			
		||||
  -server-url  - When doing network operations, use this vpm server. Can be given multiple times.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
Usage: v upgrade
 | 
			
		||||
 | 
			
		||||
Upgrade all outdated modules.
 | 
			
		||||
 | 
			
		||||
Options:
 | 
			
		||||
  -help        - Show usage info.
 | 
			
		||||
  -v           - Print more details about the upgrade.
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
Usage: v version
 | 
			
		||||
 | 
			
		||||
Print the version of V installed.
 | 
			
		||||
		Loading…
	
		Reference in New Issue