pxgamer/github-deploy-key

A CLI to generate and add Github SSH deploy keys to repos.

v1.1.4 2018-11-13 11:54 UTC

README

Latest Version on Packagist Software License Build Status Style CI Code Coverage Total Downloads

A CLI to generate and add Github SSH deploy keys to repos.

Structure

bin/
src/
tests/
vendor/

Install

Via Composer

$ composer require pxgamer/github-deploy-key

Usage

When installing through Composer globally, it should include the gdk binary in your path.

Adding a new deploy key:

gdk add [-t|--token [TOKEN]] [--] <repositories> (<repositories>)
~/$ gdk add -t d3v3l0p3r1234567890abcdefghijklmnopqrstu pxgamer/github-deploy-key
Deploy keys added successfully to the following repositories:
-------------------------------------------------------------

-----BEGIN RSA PRIVATE KEY-----
MIIJKQIBAAKCAg...
-----END RSA PRIVATE KEY-----

Private key for: pxgamer/github-deploy-key
Public key added to: https://github.com/pxgamer/github-deploy-key/settings/keys

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.