doex v0.5.1 Doex.Cli.Ip View Source

Get the IP of a droplet

 doex ip <droplet_id_or_name_or_tag>

For example,

doex ip my_app

If you have a specific config file, mix help doex.config then add it as an environment variable

DOEX_CONFIG=/tmp/my.doex doex ip my_app

This is useful to SSH into your droplet, for example

ssh root@`doex ip my_app`

Link to this section Summary

Link to this section Functions

Link to this macro invoke(piped_in_argument, expr) View Source (macro)