Console Menu¶
Command list menu for Symfony Console.
Installation¶
composer require arokettu/console-menu
Screenshots¶
![../_images/menu.png](../_images/menu.png)
The menu¶
![../_images/params.png](../_images/params.png)
If command has any parameters, a param input will be shown¶
Usage¶
Just add a ConsoleMenuCommand
to the Console Application:
<?php
$app = new \Symfony\Component\Console\Application();
$app->add(new \Arokettu\ConsoleMenu\ConsoleMenuCommand());
It will add a new command named menu:
php app.php menu
License¶
The library is available as open source under the terms of the MIT License.