Skip to content
Snippets Groups Projects
Commit b53ee748 authored by Bastien Lutz's avatar Bastien Lutz Committed by Stefan Bürk
Browse files

[TASK] Introduce Symfony attribute based registration of CLI commands

CLI commands had to be registered in the extensions `Services.yaml`
file with the `console.command` tag. This change enables automatic
cli command registration with the tag `console.command` by using
the existing `\Symfony\Component\Console\Attribute\AsCommand`
symfony PHP attribute. Thus providing an additional and simpler
way, without deprecating or enforcing to change already existing
registrations.

Resolves: #101567
Releases: main, 12.4
Change-Id: I24edf5ad2291ab5b26e3023f13ef490b88dcc98c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81559


Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 5604ac95
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment