runCommandLine function
This is the main entrypoint for the command-line tool. args
are the
command line arguments and there is an optional packageConfig
to
accommodate users that want to integrate pigeon with other build systems.
sdkPath
for specifying an optional Dart SDK path.
Implementation
Future<int> runCommandLine(List<String> args,
{Uri? packageConfig, String? sdkPath}) async {
return Pigeon.run(args, sdkPath: sdkPath);
}