deis / workflow-cli

The CLI for Deis Workflow
http://deis.com
MIT License
31 stars 43 forks source link

feat(keys): add an optional name support for keys:add #257

Closed helgi closed 7 years ago

helgi commented 7 years ago

This arg can be used interchangably with the key arg to keep backwards compatibility

That allows a user to do deis keys:add ~/.ssh/secret.pub and the name is detected or keys:add magic ~/.ssh/magic.pub or deis keys:add travis and then get the choice list to pick from

Closes #256

deis-bot commented 7 years ago

@Joshua-Anderson, @ultimateboy and @arschles are potential reviewers of this pull request based on my analysis of git blame information. Thanks @helgi!

codecov-io commented 7 years ago

Current coverage is 72.23% (diff: 61.53%)

Merging #257 into master will decrease coverage by 0.05%

@@             master       #257   diff @@
==========================================
  Files            57         57          
  Lines          3905       3915    +10   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           2823       2828     +5   
- Misses          773        777     +4   
- Partials        309        310     +1   

Powered by Codecov. Last update 1fb144c...0fbef1a