Currently, the script starts a server and shows the result. What about separating these two things: use a function/script/whatever that just creates the output on a console and a server part that can display more (if it is wanted)?
Use Case
Some user may not need the server part, they just want the result?
Currently, the script starts a server and shows the result. What about separating these two things: use a function/script/whatever that just creates the output on a console and a server part that can display more (if it is wanted)?
Use Case
Some user may not need the server part, they just want the result?