blob: 4acf18a5f7b4c34df5b5818a3cdedaa4e645c763 [file] [log] [blame]
// Copyright 2023 The Chromium 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 'package:args/command_runner.dart';
import 'package:io/io.dart';
import '_build_and_copy.dart';
import '_validate.dart';
void main(List<String> arguments) async {
final command = BuildExtensionCommand();
final runner = CommandRunner('devtools_extensions', command.description)
..addCommand(BuildExtensionCommand())
..addCommand(ValidateExtensionCommand());
await runner.run(arguments).whenComplete(sharedStdIn.terminate);
}