public function run($args)
    {
        if (!isset($args[0]) || !$args[0]) {
            return $this->error('&require-package-or-repository');
        }

        $args = $this->parseArgs($args);

        $this->noMount = in_array('--no-mount', $args);
        if ($this->noMount) {
            $args = array_values(array_diff($args, ['--no-mount']));
        }

        if (isset($args[0]) && $this->isUrl($args[0])) {
            return $this->cloneByRepositoryUrl($args);
        }

        if (isset($args[0]) && $this->isPackageName($args[0])) {
            return $this->cloneByPackageName($args);
        }

        return "> Producer: Malformed url or package name.\n";
    }