How to get output from 'flux' command line tool?

Hi

I’m trying to run ‘flux’ command line tool to test my scripts without InfluxDB.

Here is a minimal script:

import "csv"
data = "
result,table,_start,_stop,_time,region,host,_value
mean,0,2018-05-08T20:50:00Z,2018-05-08T20:51:00Z,2018-05-08T20:50:00Z,east,A,15.43
"
csv.from(csv: data)
|>yield()

the command ./flux execute @csv.flux is completed successfully, but prints nothing.

Is there anything special to redirect data to STDOUT?

Thanks