lando.engine.logs(data) ⇒ Promise

A compose Object or an Array of compose Objects if you want to get logs for more than one set of services.

data.compose

Array

An Array of paths to Docker compose files

data.project

String

A String of the project name (Usually this is the same as the app name)

[data.opts]

Object

Options on how to build the compose objects containers.

[data.opts.follow]

Boolean

false

Whether to follow the log. Works like tail -f.

[data.opts.timestamps]

Boolean

true

Show timestamps in log.

Returns: Promise - A Promise.Example

// Get logs for an appreturn lando.engine.logs(app);

lando.engine.run(data) ⇒ Promise

Runs a command on a given service/container. This is a wrapper around docker exec.

UNTIL the resolution of https://github.com/apocas/docker-modem/issues/83 data needs to also be or be an
array of compose objects for this to work correctly on Windows as well. See some of the other engine
documentation for what a compose object looks like.