clegaspi / saml_reader

A tool to parse and verify SAML response data for MongoDB Cloud.
MIT License
7 stars 2 forks source link

Cannot pipe input and then prompt for comparison values #73

Open clegaspi opened 2 years ago

clegaspi commented 2 years ago
cat file.xml | saml_reader --compare

This fails because the pipe is connected to the application's stdin rather than the terminal. Some solutions here: https://stackoverflow.com/questions/7141331/pipe-input-to-script-and-later-get-input-from-user