for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Magedownload CLI
*
* PHP version 5
* @category MageDownload
* @package MageDownload
* @author Steve Robbins <[email protected]>
* @copyright 2015 Steve Robbins
* @license http://creativecommons.org/licenses/by/4.0/ CC BY 4.0
* @link https://github.com/steverobbins/magedownload-cli
*/
namespace MageDownload\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
* Deprecated file command
class FileCommand extends DownloadCommand
{
const NAME = 'file';
* Configure command
* @return void
protected function configure()
parent::configure();
$this->setName(self::NAME);
}
* Execute command
* @param InputInterface $input
* @param OutputInterface $output
protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln('<error>The "file" command is deprecated. Please use "download" instead.</error>');
return parent::execute($input, $output);