Pass arguments to commands
This commit is contained in:
		
							parent
							
								
									36108a0fc7
								
							
						
					
					
						commit
						782065ec10
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -43,7 +43,7 @@ def runCmd(args: Args):
 | 
			
		|||
 | 
			
		||||
    exe = builder.build(componentSpec, targetSpec)
 | 
			
		||||
 | 
			
		||||
    shell.exec(exe)
 | 
			
		||||
    shell.exec(exe, *args.args)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
cmds += [Cmd("r", "run", "Run the target", runCmd)]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue