Skip to main content

create

Function create 

Source
pub fn create(dry_run: bool) -> Box<dyn Shell>
Expand description

Returns a DryRunShell when dry_run is true, otherwise a ProcessShell. Both shells are configured with ShellConfig::default(). Use ProcessShell or DryRunShell directly if you need custom config.