2017 © Pedro Peláez
 

library hydrogen-console

CLI library to work with inputs/outputs from/to the gnu/linux terminal.

image

dilawsky/hydrogen-console

CLI library to work with inputs/outputs from/to the gnu/linux terminal.

  • Monday, July 17, 2017
  • by DilawskyJordan
  • Repository
  • 2 Watchers
  • 4 Stars
  • 17 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

hydrogen-console

CLI library to work with inputs/outputs from/to the gnu/linux terminal ., (*1)

License

MIT, (*2)

Requirements

  • php7.
  • Input/output streams local.
  • exec function activated.
  • Gnu/Linux system or mac os (not working on Microsoft Widnows).

Install

composer require dilawsky/hydrogen-console dev-master, (*3)

DOCS

Download the docs, (*4)

Simple example

process($argv);
$Input->ask("Would you like a tea ?", function($answer) use ($Output) {
    if($answer === "yes") {
        $Output->write("preparing the tea ...","green");
    }
});

?>

Contact

walidlaggoune159@gmail.com, (*5)

The Versions

17/07 2017

dev-master

9999999-dev

CLI library to work with inputs/outputs from/to the gnu/linux terminal.

  Sources   Download

MIT