Skip to content

Instantly share code, notes, and snippets.

View davidneimeyer's full-sized avatar

David Neimeyer davidneimeyer

View GitHub Profile
@davidneimeyer
davidneimeyer / StdinNoEcho.php
Created March 3, 2015 06:34
A non echoing prompt reader for CLImate
<?php
use League\CLImate\Util\Reader\Stdin;
/**
* StdinNoEcho
*
* This is a quick hack to implement https://github.com/thephpleague/climate/issues/31
* Informed by http://stackoverflow.com/a/2654048
*/