This commit is contained in:
Florent de Lamotte 2025-03-25 15:47:47 +01:00
parent 733fc536c6
commit dcb4ddcee2
2 changed files with 5 additions and 2 deletions

View file

@ -171,6 +171,9 @@ async def next_cmd(mc, cmds):
case "sleep" | "s" :
argnum = 1
await asyncio.sleep(int(cmds[1]))
case "cli" :
argnum = 1
print (await mc.send_cli(cmds[1]))
printerr (f"cmd {cmds[0:argnum+1]} processed ...")
return cmds[argnum+1:]