---
title: "Feature: #68746 - Add annotation for CLI only commands"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-68746"
source: "Changelog/7.5/Feature-68746-AddAnnotationForCLIOnlyCommands.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Feature: #68746 - Add annotation for CLI only commands

See [forge#68746](https://forge.typo3.org/issues/68746)

## Description

The PHPDoc annotation `@cli` was added to indicate Extbase CommandController
commands to be usable on CLI only.
In general each defined CommandController can be selected within the Extbase
CommandController Task in the scheduler.
For some commands like `extbase:help:help` running in a scheduler task is not
wanted or needed. Now those commands can be excluded from the scheduler command selection.

## Impact

Extbase `CommandController` commands annotated with `@cli` are not shown as
command in the scheduler task.
