Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (9 sloc) 514 Bytes
#!/usr/bin/env ruby
require 'rubygems'
require 'pathname'
require"lib", "gitauth", "gh_mirror")
GitAuth::Application.processing(ARGV) do |a|
a.option :user, "The user to mirror, defaults to the result of `git config --global github.user`"
a.option :token, "The token for said user, defaults to the result of `git config --global github.token`"
a.controller! :mirror, "Automatically mirrors the specific users repositories", :skip_path => true