public function testGetTemplateFilename() { $config = new SkelCommandConfig($this->cliOptionsProphecy->reveal(), '/tmp/'); $expected = realpath(__DIR__ . '/../../../../conf/phive.skeleton.xml'); $actual = realpath($config->getTemplateFilename()); $this->assertEquals($expected, $actual); }
/** * @return bool */ public function allowOverwrite() { return $this->cliOptions->isSwitch('force'); }
/** * @return string * @throws CLI\CommandOptionsException */ public function getPharName() { return $this->cliOptions->getArgument(0); }
/** * @return bool */ public function doNotAddToPhiveXml() { return $this->cliOptions->isSwitch('temporary'); }