271d3b02db9498ee02e82bf007d925aa3147ec65
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-85977-DeprecateCliAnnotation.rst
1 .. include:: ../../Includes.txt
2
3 ===============================================
4 Deprecation: #85977 - Deprecate @cli annotation
5 ===============================================
6
7 See :issue:`85977`
8
9 Description
10 ===========
11
12 Back then, the PHPDoc annotation `@cli` was added to indicate Extbase CommandController commands to be usable on CLI only instead of also be usable as a scheduler task.
13
14 The scheduler implementation will be refactored in TYPO3 10 and the execution of commands from the backend will vanish. Therefore it will not be necessary any more to define if commands can only be used on the command line or not. In the future, all commands will only be executable from the command line.
15
16
17 Impact
18 ======
19
20 Using @cli will log a deprecation warning.
21 Once removed from your commands, they will appear in the list of executable executable commands in the scheduler module.
22
23
24 Affected Installations
25 ======================
26
27 All installations that make use of command controllers that are tagged with @cli.
28
29
30 Migration
31 =========
32
33 There is none.
34
35 .. index:: FullyScanned, ext:scheduler