runOrmCli function

Future<void> runOrmCli(
  1. List<String> arguments
)

Runs package commands using the project's runnable Dart configuration.

Project commands load orm.config.dart in a child Dart process. Generation and migration creation stay offline. Reports go to stdout; failures go to stderr and set the process exit code. Pass --json for machine reports.

Implementation

Future<void> runOrmCli(List<String> arguments) async {
  exitCode = await runOrmCommand(arguments);
}