Files
BUGPy-mOS-0/scripts/make_file/make_file.py
2026-04-27 12:15:58 -04:00

14 lines
435 B
Python

from pathlib import Path
def main(args):
if args == []:
print("make_file: no arguments were given.")
elif args == ["-h"] or args == ["--help"]:
print("make_file: bro is lazy do this later")
else:
for target in args:
path = Path(target)
if path.exists():
print(f'make_file: "{target}" already exists.')
continue
path.write_text("")