Pass arguments to commands

This commit is contained in:
Sleepy Monax 2023-03-11 14:34:07 +01:00 committed by Sleepy Monax
parent 56926d8897
commit 73f0899a38

View file

@ -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)]