Kirby\Cli\Command\Make\Blueprint::copy PHP Method

copy() protected method

protected copy ( )
    protected function copy()
    {
        if ($this->input->getOption('bare')) {
            $blueprint = f::read($this->template());
            $blueprint = str::template($blueprint, ['title' => ucfirst($this->name())]);
            f::write($this->file(), $blueprint);
        } else {
            $this->questions();
        }
    }