Adds stdin support to any CLI app that accepts file input