* @license licenses/mind3rd.license */ use Symfony\Component\Console\Input\InputArgument, Symfony\Component\Console\Input\InputOption, Symfony\Component\Console; class Quit extends MindCommand implements program { public function __construct() { $this->setCommandName('exit') ->setDescription('Finishes the application') ->setAction('action') ->setRestrict(false) ->setFileName('Quit') ->setHelp(<<init(); } public function action() { @session_destroy(); //\API\Program::execute('clear'); Mind::write('bye'); exit; } }