abc-classroom.github¶
- abcclassroom.github.create_repo(org, repository, token)[source]¶
Create a repository in the provided GitHub organization.
- abcclassroom.github.remote_repo_exists(org, repository, token=None)[source]¶
Check if the remote repository exists for the organization.
- Parameters
org (string) – Name of the organization where the repo lives on GitHub.
repository (string) – Name of the repository within the organization to clone.
token (string (default None)) – Token value required for authentication
- Return type
Boolean True if exists, False / raises exception if it doesn’t exist.