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.
pub fn run<P: Prompt>(p: P) -> Result<P::Output>Run a prompt to completion.
Picks the interactive engine when stderr & stdin are TTYs; otherwise
delegates to Prompt::run_fallback for piped / CI environments.