1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-30 22:42:11 -05:00
dotfiles/lib/git.py

10 lines
200 B
Python
Raw Normal View History

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)