diff --git a/rwx/prj/__init__.py b/rwx/prj/__init__.py index 36dab99..04f1cd9 100644 --- a/rwx/prj/__init__.py +++ b/rwx/prj/__init__.py @@ -11,3 +11,11 @@ class Project: self.file: Path = Path(file_path).resolve() self.root: Path = self.file.parent self.name: str = self.root.name + + def __str__(self) -> str: + """Return file, root & name.""" + return f"""\ +file = {self.file} +root = {self.root} +name = {self.name} +"""