Use MakeRepo to generate a command line tool for creating remote GitHub repos.
- Clone
- cd into MakeRepo
- Run
./MakeRepo/main.swiftfrom 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
reposcope - MakeRepo will generate an executable called
makerepowith 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,makerepocan be called from any directory on command line makerepowill 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!