def update_organization(name, dest_path):
click.echo('We will update the %s organization' % name)
os.chdir(dest_path)
if os.path.exists(os.path.join(dest_path, '.git')):
try:
vgit('pull')
except ErrorReturnCode:
fatal("Unable to update the organization %s." % name)
success("The %s organization has been updated." % name)
run_galaxy_install(name)
评论列表
文章目录