Skip to content

GitHub Organization Tools

GitHub Organization Tools (ghot) is a CLI tool designed to simplify the management of users and repositories within a GitHub organization.

Features:

Installation

This tool can be installed via pip:

pip install ghot

Quick Start Example

  • Create a new organization in GitHub.

  • Define a CSV file with the users and repositories.

    id,username,repo
    id1,user1,user1-repo
    id2,user2,user2-repo
    

    • id is a custom identifier for the user.
    • username is the GitHub username.
    • repo is the repository name in the organization.

    Check the CSV Format for more details.

  • Invite users to the organization:

    ghot user invite my-org users.csv
    

  • Let users accept the invitation and create their repositories — Or do it for them!

    ghot repo create my-org users.csv
    ghot repo invite my-org users.csv
    

  • And clone the repositories!

    ghot repo clone my-org users.csv