add stdout argument
accept stdin as input
update readme with stdin / stdout
pr text