1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-28 05:27:06 -05:00
dotfiles/lib/git.py

10 lines
200 B
Python

import lib.proc as proc
def clone(url, dest):
output = git(['clone', url, dest])
def git(flags):
cmd = ['git'] + flags
subproc = proc.exec(cmd)
return proc.communicate(subproc, cmd)