Skip to content

A simple, cli-based tool to automatically create github repositories

License

Notifications You must be signed in to change notification settings

saahilbdotdev/autorepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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