2019-04-03 -> 2021-03-05
Generate console interfaces quickly.
This is part of the universe framework.
Using the planet installer via light-cli
lt install Ling.EasyConsoleMenu
Using the uni command.
uni import Ling/EasyConsoleMenu
Or just download it and place it where you want otherwise.
- EasyConsoleMenu api (generated with DocTools)
- Pages
- How to use
We call the executeMenu method of the MenuExecutor object, like this:
#!/usr/bin/env php
<?php
use Ling\CliTools\Output\Output;
use Ling\EasyConsoleMenu\MenuExecutor;
require_once "/myphp/universe/bigbang.php"; // activate universe
$output = new Output();
$menu = new MenuExecutor();
$file = "/komin/jin_site_demo/universe/Ling/Deploy/menu.byml";
$menu->executeMenu($file, $output);
All the interactive program is encoded in the configuration file.
See more details in the configuration file page.
-
1.0.5 -- 2021-05-31
- Removing trailing plus in lpi-deps file (to work with Light_PlanetInstaller:2.0.0 api
-
1.0.4 -- 2021-03-05
- update README.md, add install alternative
-
1.0.3 -- 2020-12-08
- Fix lpi-deps not using natsort.
-
1.0.2 -- 2020-12-04
- Add lpi-deps.byml file
-
1.0.1 -- 2019-07-18
- update docTools documentation, add links to source code for classes and methods
-
1.0.0 -- 2019-04-03
- initial commit