DownloadCli apps
Installation
composer require mateodioev/php-easy-cli
Usage
$app = new \Mateodioev\PhpEasyCli\App();
$app->register('help', function() use ($app) {
$app->getPrinter()->display('Default command is help!!');
});
$app->run($argv, 'help');
|