def install(repo):
sheet_dir = get_sheet_path(repo)
if os.path.exists(sheet_dir):
raise CheatExtException(
"%s had been installed at %s" % (repo, sheet_dir))
github_url = get_github_url(repo)
Repo.clone_from(github_url, sheet_dir, branch="master")
print("%s is installed successfully" % repo)
评论列表
文章目录