Quiz
3.3 Command Line Interface (Console)
Perguntas do quiz (4)
1What is required to implement a TYPO3 CLI command? (2)
- AA CommandController must be registered in the file ext_localconf.php
- BA Symfony Command needs to be registered in the file Configuration/Commands.php
- CThe system extension EXT:console must be enabled
- DTYPO3 must be installed using composer
- EThe class should extend Symfony\Component\Console\Command\Command
2How do you implement console commands in a custom TYPO3 extension? (2)
- ANo existing packages or APIs are available. CLI commands need to be implemented from
scratch - BBy using the Symfony Console that is shipped with the TYPO3 core by default
- CBy using the Drupal Command Controller that is shipped with the TYPO3 core by default.
- DThe file Configuration/Commands.php needs to be added to the extension
- EBy setting the property cli in file composer.json
- ANo existing packages or APIs are available. CLI commands need to be implemented from
3Which statements about console commands and the TYPO3 Scheduler are correct? (2)
- AConsole commands are only available in the Scheduler if the TYPO3 instance has been set up using Composer
- BIntegrators can set arguments in the Scheduler that are passed to the console command
- CIntegrators can set options in the Scheduler that are passed to the console command
- DYou can configure if a console command is executable via the Scheduler or not
4How do you prevent console commands in your extension from being executed in the Scheduler? (1)
- ABy adding the annotation @notschedulable to the command class
- BBy setting the property schedulable to false in the command class
- CBy setting the flag schedulable to false in the file Configuration/Commands.php
- DBy setting the flag schedulable to false in the TCA file scheduler.php
Informações
- Descrição
- O usuário eliminou as informações de disciplina Quiz sobre 3.3 Command Line Interface (Console), criado por Usuário eliminado em 27-04-2022.
- Autor
- Usuário eliminado
- Idioma
- English
- Visualizações
- 19
- Histórico
- Criado em 27 abr 2022 · atualizado em 27 abr 2022
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz