GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

3.3 Command Line Interface (Console)

Gelöschter Nutzer 4 Fragen Aktualisiert am 27 Apr 2022

Quiz starten

Fragen in diesem Quiz (4)

  1. 1What is required to implement a TYPO3 CLI command? (2)
    1. AA CommandController must be registered in the file ext_localconf.php
    2. BA Symfony Command needs to be registered in the file Configuration/Commands.php
    3. CThe system extension EXT:console must be enabled
    4. DTYPO3 must be installed using composer
    5. EThe class should extend Symfony\Component\Console\Command\Command
  2. 2How do you implement console commands in a custom TYPO3 extension? (2)
    1. ANo existing packages or APIs are available. CLI commands need to be implemented from
      scratch
    2. BBy using the Symfony Console that is shipped with the TYPO3 core by default
    3. CBy using the Drupal Command Controller that is shipped with the TYPO3 core by default.
    4. DThe file Configuration/Commands.php needs to be added to the extension
    5. EBy setting the property cli in file composer.json
  3. 3Which statements about console commands and the TYPO3 Scheduler are correct? (2)
    1. AConsole commands are only available in the Scheduler if the TYPO3 instance has been set up using Composer
    2. BIntegrators can set arguments in the Scheduler that are passed to the console command
    3. CIntegrators can set options in the Scheduler that are passed to the console command
    4. DYou can configure if a console command is executable via the Scheduler or not
  4. 4How do you prevent console commands in your extension from being executed in the Scheduler? (1)
    1. ABy adding the annotation @notschedulable to the command class
    2. BBy setting the property schedulable to false in the command class
    3. CBy setting the flag schedulable to false in the file Configuration/Commands.php
    4. 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
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck