resolveExecutionModeForTest function

ExecutionMode resolveExecutionModeForTest(
  1. List<String> arguments,
  2. ExecutionMode configured
)

Test hook for CLI precedence without launching a subprocess.

Implementation

ExecutionMode resolveExecutionModeForTest(
  List<String> arguments,
  ExecutionMode configured,
) =>
    CliArgumentOptions.executionMode(arguments, configured);