ScriptsRegistry constructor
Constructs a ScriptsRegistry from a JsonMap.
Implementation
ScriptsRegistry(
JsonMap scriptsMap, {
Future<int> Function(String)? runCommand,
}) : scripts = scriptsMap,
_runCommand = runCommand ?? bindings.runScript;