Project

githubrepo

0.0
No commit activity in last 3 years
No release in over 3 years
Create GitHub repositories from the command line
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0
>= 0

Runtime

~> 1.0.5
~> 4.1.6
~> 0.13.0
~> 1.8.1
~> 1.8.1
~> 0.9.6
 Project Readme

Githubrepo

This gem is a Command Line Interface to do only one thing... create GitHub repositories.

Installation

Download this gem:

$ gem install githubrepo

Usage

$ githubrepo create REPO_NAME
$ githubrepo REPO_NAME
$ githubrepo REPO_NAME -d "short description"

# To get back the SSH URL instead of HTTP, add the -s or --ssh flag:
$ githubrepo REPOSITORY_NAME -s

The default operation on githubrepo is to create, so you can skip the create action. For more details use help flag:

$ githubrepo --help

Development

To see available rake tasks for development

$ rake -T

To run the app in IRB for debugging run

$ rake console
$ Githubrepo.create ({ :repository => 'test_repo',
                       :description => 'description',
                       :wants_ssh => false,
                       :username => 'username',
                       :password => 'password',
                       :rspec => true # returns response hash instead of nil
 })

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request to Dev