|
|
|
@ -11,10 +11,9 @@ int main(List<String> arguments) {
|
|
|
|
|
// the `--input` option and one for the `--output` option.
|
|
|
|
|
// `--input` is the original asset file that this program should transform.
|
|
|
|
|
// `--output` is where flutter expects the transformation output to be written to.
|
|
|
|
|
final parser =
|
|
|
|
|
ArgParser()
|
|
|
|
|
..addOption(inputOptionName, mandatory: true, abbr: 'i')
|
|
|
|
|
..addOption(outputOptionName, mandatory: true, abbr: 'o');
|
|
|
|
|
final parser = ArgParser()
|
|
|
|
|
..addOption(inputOptionName, mandatory: true, abbr: 'i')
|
|
|
|
|
..addOption(outputOptionName, mandatory: true, abbr: 'o');
|
|
|
|
|
|
|
|
|
|
ArgResults argResults = parser.parse(arguments);
|
|
|
|
|
final String inputFilePath = argResults[inputOptionName];
|
|
|
|
|