Skip to main content

run

Function run 

Source
pub fn run(
    generator: &dyn Generator,
    args: &[String],
    opts: Options,
) -> Result<Report>
Expand description

Run a generator against the current project: build the context, ask it for a plan, and apply that plan through the safe Writer (honoring force/dry_run). This is the entry point a plugin binary calls from main.