This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | require 'octokit' | |
| # Args should be key, from, to, delete before (optional) | |
| if ( ARGV[0] == "help") | |
| puts "Arguments are positional and should be: [KEY] [repo/from] [repo/to], [repo/to], ..." | |
| exit | |
| end | |
| # https://help.github.com/articles/creating-an-access-token-for-command-line-use/ | |
| client = Octokit::Client.new(:access_token => ARGV[0] ) |