Project

mkghrepo

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
mkghrepo is a tool to facilitate mass repository creation
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
>= 0

Runtime

~> 4.0
~> 4.0
 Project Readme

Mkghrepo

Quick and dirty tool to mass create repositories on Github.

To install: gem install mkghrepo

Help:

Usage: mkghrepo [options] [<filename>]

Repository options:
    -p, --private      make the repository private
    -t, --create-team  creates a team called "<foo>-write", default is false
    --token            sets github token, defaults from GITHUB_TOKEN

Other options:
    -h, --help         print this help
    -v, --version      print the version

mkghrepo accepts one repository per line as input, either stored in a file or passed through STDIN, the formats supported are:

<org>/<repo> [<user1> <user2> ... <userN>]

or

<repo>

If users are listed and the -t flag has been specified in the run, a team called <repo>-write will be created and those users added to it. The users must already be part of the organization or they will be skipped (a warning will be displayed).

Troubleshooting

By default, debug events are not logged, to see them, set MKGHREPO_LOG to DEBUG in your shell environment.