Closed ZeroKnight closed 4 years ago
Add a -c/--cancel option to wait that takes (TBD) as a value to facilitate cancelling delayed commands.
-c
--cancel
wait
Will need to wrap delayed commands in an asyncio.Task, and keep a list/queue of waiting commands to be able to cancel them.
asyncio.Task
Ended up having to implement this as its own cancel command. argparse doesn't support separate groups of mutually exclusive arguments.
cancel
argparse
Add a
-c
/--cancel
option towait
that takes (TBD) as a value to facilitate cancelling delayed commands.Will need to wrap delayed commands in an
asyncio.Task
, and keep a list/queue of waiting commands to be able to cancel them.