FormulaRegistry.standard constructor
FormulaRegistry.standard({
- 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))
..register(ProcpsFormula(executor: executor))
..register(NetToolsFormula(executor: executor))
..register(DnsUtilsFormula(executor: executor))
..register(BuildToolsFormula(executor: executor))
..register(NmapFormula(executor: executor));
return registry;
}