blob: 01ed5a7682654de9cd0626c3a2cef0a0d1d3c661 [file] [log] [blame]
import os
import shutil
import sys
def rm_rf(path):
if os.path.isdir(path):
shutil.rmtree(path)
elif os.path.exists(path):
os.remove(path)
if __name__ == "__main__":
if len(sys.argv) > 1:
[rm_rf(f) for f in sys.argv[1:]]