Quiz
3.3 Command Line Interface (Console)
Fragen in diesem 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
Informationen
- Beschreibung
- Der Nutzer hat seine Fachbereichs-Information gelöscht. Quiz am 3.3 Command Line Interface (Console), erstellt von Gelöschter Nutzer am 27/04/2022.
- Autor
- Gelöschter Nutzer
- Sprache
- English
- Aufrufe
- 19
- Verlauf
- Erstellt am 27 Apr 2022 · aktualisiert am 27 Apr 2022
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz