| // Copyright 2020 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:devtools_tool/commands/fix_goldens.dart'; | |
| import 'commands/analyze.dart'; | |
| import 'commands/list.dart'; | |
| import 'commands/pub_get.dart'; | |
| import 'commands/release_helper.dart'; | |
| import 'commands/repo_check.dart'; | |
| import 'commands/rollback.dart'; | |
| import 'commands/update_dart_sdk_deps.dart'; | |
| import 'commands/update_version.dart'; | |
| class DevToolsCommandRunner extends CommandRunner { | |
| DevToolsCommandRunner() | |
| : super('devtools_tool', 'A repo management tool for DevTools.') { | |
| addCommand(AnalyzeCommand()); | |
| addCommand(RepoCheckCommand()); | |
| addCommand(ListCommand()); | |
| addCommand(PubGetCommand()); | |
| addCommand(RollbackCommand()); | |
| addCommand(UpdateDartSdkDepsCommand()); | |
| addCommand(ReleaseHelperCommand()); | |
| addCommand(UpdateDevToolsVersionCommand()); | |
| addCommand(FixGoldensCommand()); | |
| } | |
| } |