mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-29 02:30:05 +02:00
added readInputSilent method to ask user for passwords e.g.
This commit is contained in:
parent
b03762b246
commit
9ce0a8b183
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue