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

Also available in: Atom PDF