run(); if(empty($_SERVER['argv'])) print PenConsoleRN::format('Sucesso: ', 'blue', true); print $strRetorno.PHP_EOL; } catch(\InfraException $e) { $numRetorno = 1; print PenConsoleRN::format('Erro: ', 'red', true); print PenConsoleRN::format($e->getStrDescricao()); } catch(\Exception $e) { print PenConsoleRN::format('Erro: ', 'red', true); print PenConsoleRN::format($e->getMessage()); $numRetorno = 1; } print PHP_EOL; print PHP_EOL; exit($numRetorno);