jelix/console-helpers

helpers for Symfony Console

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

This package is auto-updated.

Last update: 2021-11-17 15:44:35 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->...
    }