Adds flag to give back SSH url instead of HTTP

Ah, that'd be nice. I'll pull it in when you're done.—
Sent from Mailbox

On Sun, Aug 24, 2014 at 12:33 PM, Mark J. Lehman <notifications@github.com>
wrote:

>> @@ -46,7 +48,7 @@ command :create do |c|
>>      password = ask('Password: ') { |char| char.echo = false }
>>  
>>      # package attributes for http api payload
>> -    cli({ :repository => repository, :description => description, :username => username, :password => password })
>> +    cli({ :repository => repository, :description => description, :wants_ssh => ssh, :username => username, :password => password })
> Yep! Just noticed you already added. I was just trying that
> post.merge(attributes) to see about getting that to work.
> Mark J. Lehman
> On Sun, Aug 24, 2014 at 9:30 AM, Elikem Adadevoh <notifications@github.com>
> wrote:
>> In bin/githubrepo:
>>
>> > @@ -46,7 +48,7 @@ command :create do |c|
>> >      password = ask('Password: ') { |char| char.echo = false }
>> >
>> >      # package attributes for http api payload
>> > -    cli({ :repository => repository, :description => description, :username => username, :password => password })
>> > +    cli({ :repository => repository, :description => description, :wants_ssh => ssh, :username => username, :password => password })
>>
>> I added it already. It's in the dev branch.You are right on though, that's
>> exactly where the error was coming from. — Sent from Mailbox
>> … <#14808db2ffe578a5_>
>> On Sun, Aug 24, 2014 at 12:27 PM, Mark J. Lehman <notifications@github.com>
>> wrote: > @@ -46,7 +48,7 @@ command :create do |c| > password =
>> ask('Password: ') { |char| char.echo = false } > > # package attributes for
>> http api payload > - cli({ :repository => repository, :description =>
>> description, :username => username, :password => password }) > + cli({
>> :repository => repository, :description => description, :wants_ssh => ssh,
>> :username => username, :password => password }) Yes, I had `ssh =
>> options.ssh` within the `c.action` at some point, not sure when it got
>> dropped off, but adding that in fixes it. --- Reply to this email directly
>> or view it on GitHub:
>> https://github.com/elikem/githubrepo/pull/6/files#r16636627
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/elikem/githubrepo/pull/6/files#r16636651>.
>>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/elikem/githubrepo/pull/6/files#r16636662