protected function initializeMoodle(InputInterface $input)
    {
        if (!$this->moodle) {
            $validate     = new Validate();
            $moodleDir    = realpath($validate->directory($input->getOption('moodle')));
            $this->moodle = new Moodle($moodleDir);
        }
    }