doex v0.8.1 mix doex.block View Source

Block the command line until a condition is met,

Currently, we support blocking on action statuses,

  doex block actions <id> <status>

And, droplet statuses

  doex block droplets <droplet_id_or_name_or_tag> <status>

For example,

  doex block actions 12345 completed
  doex block droplets 5672313 active

The process is silent, so if you put in an invalid status, the script will run until manually stopped.

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

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

Callback implementation for Mix.Task.run/1.