Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.18 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.18 KB

AutoRepo (v0.1.9)

AutoRepo is a simple, cli-based tool for creating GitHub repositories, without leaving your terminal!

Installation

  • Run the following command to install autorepo:
$ pip install autorepo

Or

$ pipx install autorepo

Usage

  • After the installation is complete, you can run the following command to print the help message:
$ repo --help
  • Using any command (displayed in the help message) requires you to first be logged in to your GitHub account using a Personal Access Token (this is a one-time thing). You can generate a PAT by following the instructions here:
$ repo login
  • After logging in, you can create a new repository by running the following command:
$ repo create [OPTIONS] NAME
  • To convert an existing project directory into a GitHub repository, run the following command (the -e flag is used to specify that the directory contains an existing project):
$ cd <project_directory>
$ repo create -e [OPTIONS] NAME
  • To logout of your GitHub account, run the following command:
$ repo logout