Skip to main content

watchlist_from_args

Function watchlist_from_args 

Source
pub fn watchlist_from_args(
    args: &MonitorArgs,
    config: &Config,
) -> Result<(Watchlist, Vec<String>), String>
Expand description

The watchlist the monitor arguments describe, with the notes the user should read (flags that do nothing, alerts that are dropped).

ยงErrors

An interval or duration that does not parse, or an unknown preset.