Use MakeRepo to generate a command line tool for creating remote GitHub repos.
- Clone
- cd into MakeRepo
- Run
./MakeRepo/main.swift
from the project's root - Provide:
- A path to export the tool (Default =
/usr/local/bin/
). - Your GitHub username
- One of your GitHub access tokens with
repo
scope - MakeRepo will generate an executable called
makerepo
with the given parameters and export it to the given path - You can then remove the cloned project
- If the path is
/usr/local/bin/
or similar,makerepo
can be called from any directory on command line makerepo
will ask for the repo name and then add a new repo with that name onto your GitHub profile Big giant thanks to John Sundell and SwiftPlate for an extremely precious and informative example.
Enjoy!