arguments property

Future<List<String>> get arguments

Processes variables in arguments and returns the final command-line arguments.

Returns a Future<List<String>> containing all arguments with variables substituted with their actual values.

Implementation

Future<List<String>> get arguments async {
  final results = List<String>.from(argumentBuilder);
  for (int i = 0; i < results.length; i++) {
    results[i] = await variables.process(results[i]);
  }
  return results;
}