1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-24 04:22:50 -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)