Load configuration from file.
(self)
| 67 | return self.config_dir / "config.json" |
| 68 | |
| 69 | def get_config(self) -> Dict[str, Any]: |
| 70 | """Load configuration from file.""" |
| 71 | config_path = self.get_config_path() |
| 72 | if config_path.exists(): |
| 73 | with open(config_path, 'r') as f: |
| 74 | return json.load(f) |
| 75 | return {} |
| 76 | |
| 77 | def save_config(self, config: Dict[str, Any]): |
| 78 | """Save configuration to file.""" |