Skip to main content

Crate aviso_cli

Crate aviso_cli 

Source
Expand description

Library entry point for the aviso command-line client.

The aviso binary (src/main.rs) is a thin shim over run, and the pyaviso Python wheel’s bundled aviso console command calls the same run entry point through the aviso-py extension. Keeping the whole CLI in the library (clap parsing, tracing setup, async dispatch, and exit-code mapping) means both surfaces share one code path. Aside from the second-Ctrl+C hard-exit escape hatch in the private cancel module, std::process::exit lives in the binary, not in this library.

Functions§

run
Runs the aviso command-line client to completion and returns the process exit code.