Initial v2 framework

* Remove vendor library
* Update dependencies
* Add initial commands (not yet updated for this project)
* Move empir and linter into place
* Add pakefile
This commit is contained in:
Craig Davis
2014-01-11 15:22:10 -06:00
parent c6170ca243
commit 0995f3d061
103 changed files with 1562 additions and 18592 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace FogBugz\Command;
use FogBugz\Cli\AuthCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class VersionCommand extends AuthCommand
{
public function __construct()
{
parent::__construct();
}
protected function configure()
{
$this
->setName('version')
->setDescription('Show version information')
->requireAuth(false);
}
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->app = $this->getApplication();
$output->writeln($this->app->project->version, $this->app->outputFormat);
}
}
/* End of file VersionCommand.php */