protected function execute(InputInterface $input, OutputInterface $output)
 {
     $admin = $input->getOption('admin');
     $convert = $input->getOption('convert');
     if ($admin) {
         if (!$this->loader->hasAdminName($admin)) {
             throw new \InvalidArgumentException(sprintf("`%s` is not valid admin ", $admin));
         }
         $this->admin = $this->loader->getAdminByName($admin);
         if (!$this->admin->workflow) {
             throw new \InvalidArgumentException(sprintf("admin `%s` has no workflow ", $admin));
         }
         if ($convert) {
             $this->parse($convert, $this->admin, $input, $output);
         }
         $this->check($this->admin, $input, $output);
         return;
     }
     if ($convert) {
         $this->parse_all($convert, $input, $output);
     }
     $tree = $this->loader->getAdminTree();
     $this->tree($tree, $input, $output);
 }