Uses the credentials in ~/.aws/credentials
and ~/.config/gcloud
to pull the
hostnames from all instances in AWS and GCP.
You can download a binary for your platform from the Releases section.
Prints hostnames to STDOUT
:
autohosts all
Updates /etc/hosts
with hostnames:
autohosts aws -o /etc/hosts