cli - still need output to file