processRun method

Future processRun(
  1. Microfrontend microfrontend,
  2. String projectName, {
  3. String? org,
})

Implementation

Future processRun(
  Microfrontend microfrontend,
  String projectName, {
  String? org,
}) async {
  _microfrontend = microfrontend;
  _projectName = projectName;

  GlobalVariable.projectNameComplete = projectNameComplete;
  GlobalVariable.projectName = projectName;
  GlobalVariable.path = projectNameComplete;

  var shell = Shell();
  await shell.run(
    _commandCreateApp(microfrontend, projectName, org),
  );

  return applyTriggersIfNecessary(_microfrontend);
}