updating the readme to show the new cli api (not using stdout)