From ac335dc396b99c8b5c472a3a5e85a655044cf5f8 Mon Sep 17 00:00:00 2001 From: GeorgNation <55389952+GeorgNation@users.noreply.github.com> Date: Sun, 12 Nov 2023 17:30:30 +0600 Subject: [PATCH] Create ProcessDDEXCommand.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Начало разработки DDEX процессора --- CLI/ProcessDDEXCommand.php | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 CLI/ProcessDDEXCommand.php diff --git a/CLI/ProcessDDEXCommand.php b/CLI/ProcessDDEXCommand.php new file mode 100644 index 00000000..c64308a1 --- /dev/null +++ b/CLI/ProcessDDEXCommand.php @@ -0,0 +1,43 @@ +images = DatabaseConnection::i()->getContext()->table("photos"); + + parent::__construct(); + } + + protected function configure(): void + { + $this->setDescription("Process DDEX ERN packages for music uploading") + ->setHelp("This command allows you to process all DDEX ERN packages for music uploading"); + } + + protected function execute(InputInterface $input, OutputInterface $output): int + { + $header = $output->section(); + $counter = $output->section(); + + $header->writeln([ + "DDEX ERN processor utility", + "=====================", + "", + ]); + + return Command::SUCCESS; + } +}