Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
hubpy
hubpy.py
setup.py

README.md

hubpy

A command line tool to create Github repositories

Install

Requirements

  • Python 3
  • Click
pip install click
  • PyGithub
pip install PyGithub

hubpy

Download the hubpy file and make it executable:

chmod +x /path/to/hubpy

Add the path to your ~/.bash_profile:

...
PATH=$PATH":path/to/directory_with_hubpy"
export PATH

Update your bash profile:

source ~/.bash_profile

Usage

To store your Github username for future ease, run

hubpy init

and enter your username. This will store it in a file in your home directory called .hubpyusername

Then, while in any directory with a git repo (you've run git init), run

hubpy create

This will prompt you for a repository name and your Github password (only used for the PyGithub module)

If you didn't run hubpy init, it will also ask for a username.

License

This is under the MIT license. If you have questions or critiques, let me know (email me or open an issue).

Made with ❤️ by Jack Greenberg

You can’t perform that action at this time.