feat(core): initial commit unified architecture (scud_ai v2.5 with modular web_api)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import os
|
||||
|
||||
EXCLUDE_DIRS = {'.git', '__pycache__', 'venv', '.venv', 'output', 'logs', 'extracted_project'}
|
||||
|
||||
def print_tree(startpath):
|
||||
print("=" * 60)
|
||||
print("📂 ДЕРЕВО АРХИТЕКТУРЫ ПРОЕКТА")
|
||||
print("=" * 60)
|
||||
for root, dirs, files in os.walk(startpath):
|
||||
dirs[:] = [d for d in dirs if d not in EXCLUDE_DIRS]
|
||||
level = root.replace(startpath, '').count(os.sep)
|
||||
indent = ' ' * 4 * (level)
|
||||
print(f'{indent}📁 {os.path.basename(root)}/')
|
||||
subindent = ' ' * 4 * (level + 1)
|
||||
for f in sorted(files):
|
||||
if not f.endswith('.pyc'):
|
||||
print(f'{subindent}📄 {f}')
|
||||
print("=" * 60)
|
||||
|
||||
if __name__ == "__main__":
|
||||
print_tree('.')
|
||||
Reference in New Issue
Block a user