engineyard / core-client-rb

Engine Yard Core API Ruby client
MIT License
4 stars 22 forks source link

Server cli improvements #103

Closed binarypaladin closed 6 years ago

binarypaladin commented 6 years ago

After transitioning our project to Ruby 2.4 we started using ey-core instead of ey due to some issues with ey. We have multiple accounts with the same environment names (e.g. "production" and "staging") and existing implementation:

  1. Was broken in terms of filtering by account.
  2. Had an incorrect short flag for environments.
  3. Made it impossible to get the servers for an environment that had the same name as an environment of the default account.

Additionally, the table output has been altered to include the public hostname. In our own use cases for ey this was probably the most regularly used information.