jelix/console-helpers

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

helpers for Symfony Console

v1.0.1 2021-05-17 14:26 UTC

This package is auto-updated.

Last update: 2021-06-17 14:43:50 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->...
    }