jelix / console-helpers
helpers for Symfony Console
v1.0.2
2022-01-13 15:00 UTC
Requires
- php: >=5.6
- symfony/console: >=3.4.0 <6.0.0
This package is auto-updated.
Last update: 2023-05-13 17:50:14 UTC
README
Library providing helpers for Symfony Console
installation
You can install it from Composer. In your project:
composer require "jelix/console-helper"
usage
In your command class:
protected function execute(InputInterface $input, OutputInterface $output) { $questionHelper = $this->getHelper('question'); $interactive = new InteractiveCliHelper($questionHelper, $input, $output); $interactive->... }