fix description and help text

This commit is contained in:
Uwe Steinmann 2025-11-13 18:57:22 +01:00
parent 7c9ef030d6
commit 8b67c33fa7

View File

@ -38,8 +38,8 @@ class PackageextensionCommand extends Command
protected function configure() protected function configure()
{ {
$this->setName('ext:package') $this->setName('ext:package')
->setDescription('Package extension as a zip file. If --output-dir is given, the zip file will be placed into this directory otherwise it will be saved in the current directory. The name of the zip file will be <extname>-<version>.zip. If such a file already exists, it will be deleted and recreated.') ->setDescription('Package extension as a zip file')
->setHelp('Creates a zip file of an extension, which can be uploaded into SeedDMS.') ->setHelp('Creates a zip file of an extension, which can be uploaded into SeedDMS. If --output-dir is given, the zip file will be placed into this directory otherwise it will be saved in the current directory. The name of the zip file will be <extname>-<version>.zip. If such a file already exists, it will be deleted and recreated.')
->addOption('name', '', InputOption::VALUE_REQUIRED, 'Name of extension.', null) ->addOption('name', '', InputOption::VALUE_REQUIRED, 'Name of extension.', null)
->addOption('output-dir', '', InputOption::VALUE_REQUIRED, 'Name of directory where the zip file is saved.', null) ->addOption('output-dir', '', InputOption::VALUE_REQUIRED, 'Name of directory where the zip file is saved.', null)
; ;