Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

App

The App struct ties everything together — catalog, params, hooks, and runners — and provides CLI dispatch for running, validating, and visualizing your pipeline.

In the minimal example

    pondrs::app::App::from_yaml(
        dir.join("catalog.yml").to_str().unwrap(),
        dir.join("params.yml").to_str().unwrap(),
    )?
    .with_args(std::env::args_os())?
    .dispatch(pipeline)

App::from_yaml loads the catalog and params from YAML files, then with_args parses CLI arguments for subcommand selection and parameter overrides. Finally, dispatch runs the appropriate subcommand (run, check, or viz).

Subcommands

$ my_app run                              # execute the pipeline
$ my_app run --params threshold=0.8       # override params from CLI
$ my_app check                            # validate pipeline DAG
$ my_app viz                              # interactive pipeline visualization

For the full details on the App struct, initialization options, YAML configuration, and subcommands, see the App chapter.