protected function execute(InputInterface $input, OutputInterface $output)
{
$file = $this->dir() . '/.htaccess';
if (file_exists($file)) {
throw new RuntimeException('The .htaccess file already exists. Please remove the old one it first.');
}
$download = util::download('https://raw.githubusercontent.com/getkirby/starterkit/master/.htaccess');
file_put_contents($file, $download);
$output->writeln('');
$output->writeln('<comment>The .htaccess has been installed!</comment>');
$output->writeln('');
}