option('force'); $this->call('vendor:publish', [ '--tag' => 'stylist-config', '--force' => $force, ]); $themesPath = (string) config('stylist.themes_path', resource_path('themes')); if (! is_dir($themesPath) && ! mkdir($themesPath, 0775, true) && ! is_dir($themesPath)) { $this->components->error("Unable to create theme directory: {$themesPath}"); return self::FAILURE; } $this->components->info("Stylist config published. Themes remain in: {$themesPath}"); return self::SUCCESS; } }