stecman / symfony-console-completion

Automatic tab-key completion for Symfony console application options, arguments and parameters
MIT License
420 stars 26 forks source link

docs: Mention installation process for a Symfony app #76

Closed AlexeyKosov closed 6 years ago

AlexeyKosov commented 6 years ago

I think it's worth to mention in the docs that in order to install it in a Symfony app, the "_completion" command should be registered in the config file rather than added to the getDefaultCommands:

app/config/services.yml:

    console.completion_command:
        class: Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand
        tags:
            -  { name: console.command }
stecman commented 6 years ago

:+1: sounds good - happy to accept a PR for this. I've only used this library with stand-alone Symfony Console applications, so wasn't aware of that.