// Assets/Editor/DataImporter/CLIImporter.cs using UnityEngine; using UnityEditor; namespace DigAndDefend.Editor { public static class CLIImporter { public static void ImportAllDataCLI() { Debug.Log("=== CLI Import 시작 ==="); try { CSVToSOImporter.ImportAll(); Debug.Log("=== CLI Import 성공 ==="); EditorApplication.Exit(0); } catch (System.Exception e) { Debug.LogError($"=== CLI Import 실패 ==="); Debug.LogException(e); EditorApplication.Exit(1); } } } }