jelix / console-helpers
helpers for Symfony Console
v1.0.3
2023-11-15 14:41 UTC
Requires
- php: >=5.6
- symfony/console: >=3.4.0 <7.0.0
This package is auto-updated.
Last update: 2024-11-15 16:52:03 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->... }