Kirby\Cli\Command\Install::dev PHP Method

dev() protected method

protected dev ( $input, $output, $kit )
    protected function dev($input, $output, $kit)
    {
        $path = $input->getArgument('path');
        $this->install(['repo' => 'getkirby/' . $kit, 'branch' => 'master', 'path' => $path, 'output' => $output]);
        util::remove(realpath($path) . '/panel');
        util::remove(realpath($path) . '/kirby');
        $output->writeln('Installing the core developer preview...');
        $this->install(['repo' => 'getkirby/kirby', 'branch' => 'develop', 'path' => $path . '/kirby', 'output' => $output]);
        $output->writeln('Installing the panel developer preview...');
        $this->install(['repo' => 'getkirby/panel', 'branch' => 'develop', 'path' => $path . '/panel', 'output' => $output]);
        $output->writeln('<comment>The developer preview has been installed!</comment>');
        $output->writeln('');
    }