doex v0.5.1 mix doex.ip View Source

Get the IP of a droplet

 doex ip <droplet_id_or_name_or_tag> <shell_command>?

For example,

doex ip my_app "ls -la"

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

Functions

A task needs to implement run which receives a list of command line args

Link to this section Functions

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

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.