added readInputSilent method to ask user for passwords e.g.

This commit is contained in:
Bart Swaalf 2015-10-14 16:13:44 +02:00
parent b03762b246
commit 9ce0a8b183

View file

@ -269,6 +269,14 @@ class Console
return rtrim($line);
}
/**
* Read String From Prompt Without
*/
public static function readInputSilent()
{
return rtrim(exec('read -s input && echo $input'));
}
/**
* Check Logs
* @param \Mage\Config $config