add user data and message to lock command

This commit is contained in:
Rodmen
2014-06-26 11:05:00 -03:00
parent b229e69c45
commit 732cc20f1f
5 changed files with 33 additions and 5 deletions
+14 -1
View File
@@ -227,6 +227,18 @@ class Console
return self::$logFile;
}
/**
* Read String From Prompt
*/
public static function readInput()
{
$fp = fopen("php://stdin","r");
$line = '';
$line = fgets($fp);
return rtrim($line);
}
/**
* Check Logs
* @param \Mage\Config $config
@@ -252,4 +264,5 @@ class Console
}
}
}
}
}