feat: +tree command

This commit is contained in:
莘权 马 2024-03-13 15:10:13 +08:00
parent 684730e94f
commit 6f4d30825f

View file

@ -34,7 +34,7 @@ from typing import Callable, Dict, List
from gitignore_parser import parse_gitignore
def tree(root: str | Path, gitignore: str | Path = None, run_command: bool = True) -> str:
def tree(root: str | Path, gitignore: str | Path = None, run_command: bool = False) -> str:
"""
Recursively traverses the directory structure and prints it out in a tree-like format.