->setDescription('Delete an object from the object store')
->addArgument('object',InputArgument::REQUIRED,"Object to delete")
->addOption('bucket','b',InputOption::VALUE_REQUIRED,"Bucket to delete the object from, only required in cases where it can't be determined from the config");
$output->writeln("<error>Warning, object $object belongs to an existing file, deleting the object will lead to unexpected behavior if not replaced</error>");
$output->writeln(" Note: use <info>occ files:delete $fileId</info> to delete the file cleanly or <info>occ info:file $fileId</info> for more information about the file");
$output->writeln("");
}
if(!$objectStore->objectExists($object)){
$output->writeln("<error>Object $object does not exist</error>");