public function setSettings()
    {
        $type = $this->option('type');
        $options = config('generators.settings');

        $found = false;
        // loop through the settings and find the type key
        foreach ($options as $key => $settings) {
            if ($type == $key) {
                $found = true;
                break;
            }
        }

        if ($found === false) {
            $this->error('Oops!, no settings key by the type name provided');
            exit;
        }

        // set the default keys and values if they do not exist
        $defaults = config('generators.defaults');
        foreach ($defaults as $key => $value) {
            if (!isset($settings[$key])) {
                $settings[$key] = $defaults[$key];
            }
        }

        $this->settings = $settings;
    }