feat: replace global CONTEXT with Config()

fixbug: unit test
This commit is contained in:
莘权 马 2024-01-22 17:13:20 +08:00
parent ff314388bb
commit e8b3e6762b
15 changed files with 44 additions and 33 deletions

View file

@ -38,6 +38,7 @@ class CLIParams(BaseModel):
if self.project_path:
self.inc = True
self.project_name = self.project_name or Path(self.project_path).name
return self
class Config(CLIParams, YamlModel):