Skip to main content

run

Function run 

Source
pub fn run<P: Prompt>(p: P) -> Result<P::Output>
Expand description

Run a prompt to completion.

Picks the interactive engine when stderr & stdin are TTYs; otherwise delegates to Prompt::run_fallback for piped / CI environments.