#NEWLINE# @ baker . command #NEWLINE# def install( template_url , template_name = None ) : #NEWLINE# #INDENT# 'Installs the template in VOODOO_TEMPLATES_DIR' #NEWLINE# vcs = get_vcs_from_url ( template_url ) #NEWLINE# if template_name : #NEWLINE# #INDENT# make_dirs ( VOODOO_TEMPLATES_DIR ) #NEWLINE# clone_install ( vcs , VOODOO_TEMPLATES_DIR ) #NEWLINE# print ( 'done' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print ( "Couldn't process URL." )