mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-27 21:19:51 -05:00
10 lines
200 B
Python
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)
|