Project

General

Profile

Actions

Feature #106839

closed

Allow shell autocompletion for the typo3 cli command dispatcher

Added by Stefan Bürk 13 days ago. Updated 2 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
CLI
Target version:
Start date:
2025-06-06
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

symfony/console supports registering autocompletion for
the symfony-cli and console applications for several shells
over the time:

  • 5.4 for Bash
  • 6.1 for Fish
  • 6.2 for ZSH

which are a couply of most commonly used shell variants on
today systems.

TYPO3 provides a dedicated cli aplication with the `typo3`
cli tool containing a complete dedicated command registry
due to not beeing a complete symfony application and does
not provide the command to generate the auto completion
command to register it for the aforementioned shells.

The symfony command class should be registered by EXT:core
as general available to allow autocompletion out-of-the box
with the default behaviour.

Adding this allows future improvements to provide auto-completion
for command options (for example copleting a value based against
the database etc) but falls with the basic registration command.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #96496: Implement Symfony Console AutocompletionClosed2022-01-10

Actions
Actions #1

Updated by Gerrit Code Review 13 days ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89659

Actions #2

Updated by Gerrit Code Review 13 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89659

Actions #3

Updated by Gerrit Code Review 13 days ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89659

Actions #4

Updated by Georg Ringer 13 days ago

  • Related to Feature #96496: Implement Symfony Console Autocompletion added
Actions #5

Updated by Gerrit Code Review 12 days ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89659

Actions #6

Updated by Gerrit Code Review 2 days ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89659

Actions #7

Updated by Stefan Bürk 2 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF