protected function connect(InputInterface $input, OutputInterface $output)
 {
     $config = ConfigLoader::get();
     $this->rets = new Session($config);
     try {
         $this->connect = $this->rets->Login();
     } catch (Exception $e) {
         $output->writeln('<error>Cannot connect:</error>');
         $output->writeln("<error>{$e}</error>");
         return false;
     }
     return true;
 }
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $config = ConfigLoader::get();
     $output->writeln('<comment>Testing connection...</comment>');
     $rets = new Session($config);
     try {
         $connect = $rets->Login();
     } catch (Exception $e) {
         $output->writeln('<error>Cannot connect:</error>');
         $output->writeln("<error>{$e}</error>");
         return;
     }
     $output->writeln('<info>Conntected</info>');
 }