@Griatch said in Getting Young Blood Into MU*'ing:
Thinking more on it, the main issue with doing something like this comes in interactive commands. If you use a delay or have a prompt using the
@interactive
decorator, the execution of the Command'sfunc
method will pause mid-way and wait for the user to enter a reply/input before continuing. Something like that does not really seem suitable for a REST-based communication. REST requests are expected to run in isolation and not being dependent on what came before, after all. Any ideas?
.
Griatch
Just get rid of interactive commands entirely, they cause nothing but trouble and I've never seen them be particularly useful.
Anything that can be done with an interactive prompt can just as easily be done by just tracking the relevant variables and have the prompt tell the user which command to use.