public function handle() { $name = $this->ask('Directory name'); $displayName = $this->ask('Display name'); $name = Str::slugify($name); $this->generate($name, ['config.php.stub' => 'config.php', 'index.md.stub' => '{{directory}}/index.md', 'menu.yml.stub' => '{{directory}}/menu.yml'], ['displayName' => $displayName]); $this->comment('All done sire!'); }