The amazing monitoring conference command

This commit is contained in:
Thomas Gelf 2013-10-22 15:52:51 +00:00
parent 92ced41a77
commit c820336df8
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
<?php
namespace Icinga\Module\Monitoring\Clicommands;
use Icinga\Cli\Command;
/**
* The OSMC 2013 special command
*
* This command has been written to impress the audience
*/
class ConferenceCommand extends Command
{
/**
* Give them a warm welcome
*
* Use this command in case you feel that you should be friendly
*/
public function welcomeAction()
{
$scr = $this->screen;
echo $scr->clear() . $scr->newlines(10) . $scr->center(
$scr->colorize(' ❤ Welcome OSMC 2013 ❤ ', 'white', 'red')
) . $scr->newlines(10);
}
}