blob: 61eb9ebb69688d7e94a8c5e6043895ab18e29157 [file] [log] [blame]
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import '../command.dart';
/// Handles the `global list` pub command.
class GlobalListCommand extends PubCommand {
String get name => "list";
String get description => 'List globally activated packages.';
String get invocation => 'pub global list';
bool get allowTrailingOptions => false;
bool get takesArguments => false;
void run() {
globals.listActivePackages();
}
}