->setDescription('Write a file to the object store')
->addArgument('input',InputArgument::REQUIRED,'Source local path, use - to read from STDIN')
->addArgument('object',InputArgument::REQUIRED,'Object to write')
->addOption('bucket','b',InputOption::VALUE_REQUIRED,"Bucket where to store the object, only required in cases where it can't be determined from the config");
$output->writeln("<error>Warning, object $object belongs to an existing file, overwriting the object contents can lead to unexpected behavior.</error>");
$output->writeln("You can use <info>occ files:put $inputName$fileId</info> to write to the file safely.");
$output->writeln('');
/** @var QuestionHelper $helper */
$helper=$this->getHelper('question');
$question=newConfirmationQuestion('Write to the object anyway? [y/N] ',false);