A CLI to generate and add Github SSH deploy keys to repos.
Note: Use the
gh repo deploy-key
command instead.
Via Composer
$ composer require pxgamer/github-deploy-key
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
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email security@pxgamer.xyz instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.