Files
vaiola/pythonapp/Libs/git.py
Bacruru Sakaguchi 9e5e214944 initial commit
2025-09-12 17:10:13 +07:00

10 lines
254 B
Python

import subprocess
class git:
@staticmethod
def clone(url, output_path = None, git = 'git'):
command = [git, 'clone', url]
if output_path: command.append(output_path)
result = subprocess.run(command)
return result