def generate(fn, opts):
	
	ir = runac.ir(fn)
	if opts.test:
		return
	
	if opts.outfile is None:
		print(ir)
		return
	
	with open(opts.outfile, 'w') as f:
		print(ir, file=f)
Poll 3rd party system for new information.
dataset/ETHPy150Open djc/runa/runac/__main__.py/generate--crossover with--dataset/ETHPy150Open StackStorm/st2/st2reactor/st2reactor/sensor/base.py/PollingSensor.poll