Skip to main content

run_dags

Function run_dags 

Source
pub async fn run_dags<T: Transport>(
    command: &DagsCommand,
    client: &Client<T>,
    output: &Output,
    out: &mut impl Write,
) -> Result<(), AppError>
Expand description

Runs a schedr dags command.

§Errors

AppError::Client if the server can’t be reached, answers with an error or rejects the command; AppError::BadArgument for check / test, which run locally (crate::local).