idearium / cli

The Idearium cli, which makes working with our projects, super easy :)
MIT License
0 stars 0 forks source link

Fixes an issue with multiple hosts records. #49

Closed smebberson closed 3 years ago

smebberson commented 3 years ago

Currently c hosts get {host} will return multiple IPs if found in your /etc/hosts record. This PR adds a -l flag to allow you to only return the last one if required (which mimics the natural selection your OS makes from /etc/hosts).

Verification and testing

Verification

These are the steps to demonstrate the problem being solved:

Testing

Deployment