bootleg v0.3.0 Bootleg.UI

Functions for capturing application and server output and filtering against a configured verbosity level.

Link to this section Summary

Functions

Convenience methods

Simple wrapper around IO.puts

Allow specifying output verbosity level

Output an impending download operation

Individually handle output tuple

Convenience function when wanting to output as if we’d received something from a particular host, e.g. git+ssh output

Output a command destined for a single SSHKit host

Output an impending upload operation

Get configured output verbosity and sanitize it for our uses. Defaults to :info

Link to this section Functions

Link to this function debug(output, setting \\ nil)

Convenience methods

Link to this function error(output, setting \\ nil)
Link to this function info(output, setting \\ nil)

Simple wrapper around IO.puts

Link to this function puts(level, output, setting \\ nil)

Allow specifying output verbosity level

Link to this function puts_download(context, remote_path, local_path)

Output an impending download operation.

Link to this function puts_recv(outputs)

Individually handle output tuple.

Link to this function puts_recv(context, output)

Convenience function when wanting to output as if we’d received something from a particular host, e.g. git+ssh output.

Link to this function puts_send(context, command)

Output a command destined for a single SSHKit host.

Link to this function puts_upload(context, local_path, remote_path)

Output an impending upload operation.

Link to this function verbosity(setting \\ nil)

Get configured output verbosity and sanitize it for our uses. Defaults to :info

Link to this function warn(output, setting \\ nil)