bnto_shell/lib.rs
1// bnto-shell — Shell command execution for native targets.
2//
3// Provides the `shell-command` processor: a generic NodeProcessor that
4// executes external CLI tools via ProcessContext::run_command(). This
5// enables connector-as-recipe architecture — recipes can wrap any CLI
6// tool (ffmpeg, yt-dlp, imagemagick) without needing a dedicated Rust
7// processor for each one.
8//
9// Native-only: registered behind `#[cfg(feature = "native")]` in
10// bnto-engine. Browser (WASM) gets NoopContext which blocks execution.
11
12mod args;
13pub mod execute;
14mod file_mode;
15mod output_files;
16mod parameters;
17mod stdout_mode;
18pub mod validate;
19
20pub use execute::ShellCommand;