/MakeRepo

Swift Command Line Tool for easily creating GitHub Repos

Primary LanguageSwiftMIT LicenseMIT

MakeRepo

Use MakeRepo to generate a command line tool for creating remote GitHub repos.

Usage

  1. Clone
  2. cd into MakeRepo
  3. Run ./MakeRepo/main.swift from the project's root
  4. Provide:
  5. A path to export the tool (Default = /usr/local/bin/).
  6. Your GitHub username
  7. One of your GitHub access tokens with repo scope
  8. MakeRepo will generate an executable called makerepo with the given parameters and export it to the given path
  9. You can then remove the cloned project
  10. If the path is /usr/local/bin/ or similar, makerepo can be called from any directory on command line
  11. 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!