(lang: str)
| 1150 | cur = p |
| 1151 | else: |
| 1152 | print(file_info_text(lang, p)) |
| 1153 | continue |
| 1154 | |
| 1155 | |
| 1156 | # ------------------ Menu actions ------------------ |
| 1157 | def run_quick(lang: str) -> None: |
| 1158 | target = prompt_path(lang, Path(".")) |
| 1159 | if not target.exists(): |
| 1160 | print(t("err_path_missing", lang, path=target)) |
| 1161 | return |
| 1162 | text = build_tree_text( |
| 1163 | target, |
| 1164 | max_depth=2, |
| 1165 | dirs_only=False, |
| 1166 | show_size=True, |
| 1167 | sort_by_size=True, |
| 1168 | no_color=False, |
| 1169 | include_hidden=True, |
| 1170 | follow_symlinks=False, |
| 1171 | ignore=[], |
| 1172 | only=[], |
| 1173 | ) |
| 1174 | print(text) |
no test coverage detected