pwmckenna / node-travis-encrypt

node module to encrypt environment variables for travis-ci
npmjs.org/package/travis-encrypt
46 stars 12 forks source link

Add option to save to .travis.yml #9

Closed rexxars closed 9 years ago

rexxars commented 9 years ago

I like how the ruby travis thing can add the encrypted blobs to your .travis.yml automatically, when passing the --add option. I'd rather use node to do the job though.

This PR adds support for this feature. Let me know if you want anything changed.

Note: A little --help fix slipped in here, yargs was being a bit difficult, so the code didn't turn out too pretty though.

pwmckenna commented 9 years ago

published to npm as v1.1.0. thanks for the patch!