Command 'juju wait-for'

Usage:

juju wait-for [flags] <command> ...

Summary:

Wait for an entity to reach a specified state.

Flags:

--description  (= false)

Show short description of plugin, if any

-h, --help  (= false)

Show help on a command or other topic.

Details:

Waits for a specified model, machine, application or unit to reach a state defined by the supplied query.

Examples:

juju wait-for unit mysql/0
juju wait-for application mysql --query='name=="mysql" && (status=="active" || status=="idle")'

commands:

application - Wait for an application to reach a specified state.
help        - Show help on a command or other topic.
machine     - Wait for a machine to reach a specified state.
model       - Wait for a model to reach a specified state.
unit        - Wait for a unit to reach a specified state.