%PDF- %PDF-
| Direktori : /proc/thread-self/root/www/varak.net/nextcloud.varak.net/apps/app_api/lib/Command/ExApp/ |
| Current File : //proc/thread-self/root/www/varak.net/nextcloud.varak.net/apps/app_api/lib/Command/ExApp/Deploy.php |
<?php
declare(strict_types=1);
namespace OCA\AppAPI\Command\ExApp;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class Deploy extends Command {
public function __construct(
) {
parent::__construct();
}
protected function configure(): void {
$this->setName('app_api:app:deploy');
$this->setDescription('Deploy ExApp on configured daemon');
$this->addArgument('appid', InputArgument::REQUIRED);
$this->addArgument('daemon-config-name', InputArgument::OPTIONAL);
$this->addOption('info-xml', null, InputOption::VALUE_REQUIRED, 'Path to ExApp info.xml file (url or local absolute path)');
}
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln("Use only `register` command, this command is deprecated.");
return 0;
}
}