TaskBunny v0.0.1-dev.6 TaskBunny.Config

Modules that help you access to TaskBunny config values

Summary

Functions

Returns if auto start is enabled

Returns connect options for the host. It raises an error if the host is not found

Disable auto start manually

Returns list of hosts in config

Returns jobs in config

Functions

auto_start?()
auto_start?() :: boolean

Returns if auto start is enabled.

connect_options(host)
connect_options(host :: atom) :: list | String.t

Returns connect options for the host. It raises an error if the host is not found.

disable_auto_start()
disable_auto_start() :: :ok

Disable auto start manually

hosts()
hosts() :: [atom]

Returns list of hosts in config.

jobs()
jobs() :: [keyword]

Returns jobs in config.