private function removeByPrefix(InputInterface $input, OutputInterface $output)
    {
        $prefix = $input->getOption('prefix');
        $output->writeln(
            sprintf('<comment>Removing all resources from <info>%s</info></comment>', $prefix)
        );

        $api = $this->getCloudinaryApi();

        $response = $api->delete_resources_by_prefix($prefix);
        $this->outputApiResponse($response, 'deleted', $output);
    }
private function removeByPrefix(InputInterface $input, OutputInterface $output)
    {
        $prefix = $input->getOption('prefix');
        $output->writeln(
            sprintf('<comment>Removing all resources from <info>%s</info></comment>', $prefix)
        );

        $api = $this->getCloudinaryApi();

        $response = $api->delete_resources_by_prefix($prefix);
        $this->outputApiResponse($response, 'deleted', $output);
    }
private function removeByPrefix ( InputInterface $ input , OutputInterface $ output ) { $ prefix = $ input -> getOption ( 'prefix' ) ; $ output -> writeln ( sprintf ( '<comment>Removing all resources from <info>%s</info></comment>' , $ prefix ) ) ; $ api = $ this -> getCloudinaryApi ( ) ; $ response = $ api -> delete_resources_by_prefix ( $ prefix ) ; $ this -> outputApiResponse ( $ response , 'deleted' , $ output ) ; }
Remove resources by prefix.

@param InputInterface  $input  Console input.
@param OutputInterface $output Console output.
Remove resources by prefix .