Kind of shi that half works
This commit is contained in:
10
scripts/make_file/make_file.py
Normal file
10
scripts/make_file/make_file.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from pathlib import Path
|
||||
|
||||
def main(args):
|
||||
for target in args:
|
||||
path = Path(target)
|
||||
if path.exists():
|
||||
print(f'"{target}" already exists.')
|
||||
continue
|
||||
|
||||
path.write_text("") # Pure creation
|
||||
Reference in New Issue
Block a user