Обновление клиента

This commit is contained in:
root
2026-03-05 13:40:40 +00:00
parent 34bcd34979
commit b8905de237
4147 changed files with 748711 additions and 7 deletions
+35
View File
@@ -0,0 +1,35 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Support\Command;
use OCA\Support\DetailManager;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class SystemReport extends Command {
public function __construct(
protected readonly DetailManager $detailManager,
) {
parent::__construct();
}
#[\Override]
protected function configure(): void {
$this
->setName('support:report')
->setDescription('Generate a system report')
;
}
#[\Override]
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln($this->detailManager->getRenderedDetails());
return 0;
}
}