The %command.name% command generates a new controller class.
php %command.full_name% CoolStuffController
If the argument is missing, the command will ask for the controller class name interactively.
If you have the symfony/twig-bundle installed, a Twig template will also be
generated for the controller.
composer require symfony/twig-bundle
You can also generate the controller alone, without template with this option:
php %command.full_name% --no-template