GoConqr has a new look! Let us know what you think.

Quiz

3.3 Command Line Interface (Console)

Deleted user 4 questions Updated 27 Apr 2022

Take the quiz

Questions in this 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

Information

Description
User has deleted their subject information Quiz on 3.3 Command Line Interface (Console), created by Deleted user on 27/04/2022.
Author
Deleted user
Language
English
Views
19
History
Created on 27 Apr 2022 · updated on 27 Apr 2022
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?