blob: 6c24939161e9edc87d5ccafe94861e24c8a5f64a [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'pigeon_lib.dart';
/// 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.
Future<int> runCommandLine(List<String> args,
{Uri? packageConfig, String? sdkPath}) async {
return Pigeon.run(args, sdkPath: sdkPath);
}