Pass arguments to commands
This commit is contained in:
parent
56926d8897
commit
73f0899a38
|
@ -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…
Reference in a new issue