Skip to content

This gem enable to treat github.com/<user>.keys programmatically.

License

Notifications You must be signed in to change notification settings

ToQoz/gh-pub_keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GhPubKeys

Use case

Get team members pub keys by using this in Chef recipe or other ruby script.

Installation

Add this line to your application's Gemfile:

gem 'gh-pub_keys'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gh-pub_keys

Usage

Use from ruby

require 'gh-pub_keys'

GhPubKeys.get("ToQoz").each do |key|
  # ...
end

Use from commandline

$ gh-pub_keys ToQoz
ssh-key1
ssh-key2
.
.
.

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

About

This gem enable to treat github.com/<user>.keys programmatically.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages