Kind of shi that half works

This commit is contained in:
2026-04-24 08:42:19 -04:00
parent 74abef1b9f
commit 47a6796e1c
15 changed files with 64 additions and 17 deletions

View File

@@ -1,15 +1,17 @@
from pathlib import Path
def main():
def main(args):
# Set the directory path
script_dir = Path(__file__).resolve().parent
dir_path = Path("")
# Use the current script's directory or specify a path
base_path = Path(__file__).resolve().parent
for entry in dir_path.iterdir():
if entry.is_dir():
print(f"[FOLDER] {entry.name}")
elif entry.is_file():
print(f"[FILE] {entry.name}")
if args == []:
for entry in dir_path.iterdir():
if entry.is_dir():
print(f"[FOLDER] {entry.name}")
elif entry.is_file():
print(f"[FILE] {entry.name}")
elif args == ["--help"] or args == ["-h"]:
print("Bro is lazy on doing this help section")