protected function confirmInfo()
{
$this->info(sprintf("[New skin info]\n plugin:\t %s\n path:\t\t %s/%s\n class file:\t %s/%s\n class name:\t %s\n id:\t\t %s/skin/%s\n title:\t %s\n description:\t %s", $this->attr['plugin']->getId(), $this->attr['plugin']->getId(), $this->attr['path'], $this->attr['plugin']->getId(), $this->attr['skinFile'], $this->attr['namespace'] . '\\' . $this->attr['skinClass'], $this->attr['skinTarget'], $this->attr['skinId'], $this->attr['skinTitle'], $this->attr['description']));
while ($confirm = $this->ask('Do you want to add skin? [yes|no]')) {
if ($confirm === 'yes') {
return true;
} else {
return false;
}
}
}