FormulaRegistry.standard constructor

FormulaRegistry.standard({
  1. CommandExecutor executor = const ProcessCommandExecutor(),
})

Creates a registry pre-populated with the built-in formulas.

Implementation

factory FormulaRegistry.standard({
  CommandExecutor executor = const ProcessCommandExecutor(),
}) {
  final registry = FormulaRegistry();
  registry
    ..register(DockerFormula(executor: executor))
    ..register(DartFormula(executor: executor));
  return registry;
}