public function testFromFile() { $gitdeploy = GitDeploy::fromFile($this->fixtures . 'git-deploy.json'); $this->assertNotEmpty($gitdeploy); }
protected function execute(InputInterface $input, OutputInterface $output) { $deploy = GitDeploy::fromFile($input->getOption('file')); $deploy->deploy(); }