#59372Improve the formatting of help of the CommandController
Description
With the command
/cli_dispatch.phpsh extbase help extensionapi:fetch
you will get this help
Fetch an extension from TER.
COMMAND:
core_a_p_i:extensionapi:fetch
USAGE:
/Volumes/HDD/Users/sok/Sites/TYPO3/www.introduction.dev/typo3/./cli_dispatch.phpsh ./cli_dispatch.phpsh extbase extensionapi:fetch [<options>] <key>
ARGUMENTS:
--key extension key
OPTIONS:
--version the exact version of the extension, otherwise the
latest will be picked
--location where to put the extension. System = typo3/sysext,
Global = typo3/ext, Local = typo3conf/ext
--overwrite $overwrite overwrite the extension if it already exists
--mirror mirror to fetch the extension from. Run
extensionapi:listmirrors to get the list of all
available repositories, otherwise a random mirror will
be selected
The help text of the options is not aligned. This happens because the text is taken by Reflection from the PHP DocComment which use whitespaces to align the description of a variable.
/** * Fetch an extension from TER. * * @param string $key extension key * @param string $version the exact version of the extension, otherwise the latest will be picked * @param string $location where to put the extension. System = typo3/sysext, Global = typo3/ext, Local = typo3conf/ext * @param bool $overwrite overwrite the extension if it already exists * @param string $mirror mirror to fetch the extension from. Run extensionapi:listmirrors to get the list of all available repositories, otherwise a random mirror will be selected * * @return void */