How to get output result in ScriptedCLI module?

I’m developing a ScriptedCLI module, doing some image processing. The result of this module is a numpy array which represents a group of points. How can I get this result in Slicer?