cli uses process.stdout/stderr