Created
August 20, 2013 21:34
-
-
Save ungoldman/6287634 to your computer and use it in GitHub Desktop.
learn you an octokit!
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
| # make sure octokit and highline are actually installed first | |
| require 'octokit' | |
| require 'highline/import' | |
| login = ask("Enter your login: ") { |q| q.echo = false } | |
| pass = ask("Enter your pass: ") { |q| q.echo = false } | |
| @client = Octokit::Client.new(:login => login, :password => pass) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment