frenchyan wrote
glu already supports passing arguments:
def stop = { args ->
args.xxxx
}
it would be a matter of figuring out what to pass.
I'm controlling Glu server totally via its REST interface. How can pass the argument if that's possible?
Also, since I use REST interface to create plans and define the plan type when doing that, can Glu script see the plan type?