Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Side by Side Diff: lib/src/command/global.dart

Issue 1585513002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/command/get.dart ('k') | lib/src/command/global_activate.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library pub.command.global;
6
7 import '../command.dart'; 5 import '../command.dart';
8 import 'global_activate.dart'; 6 import 'global_activate.dart';
9 import 'global_deactivate.dart'; 7 import 'global_deactivate.dart';
10 import 'global_list.dart'; 8 import 'global_list.dart';
11 import 'global_run.dart'; 9 import 'global_run.dart';
12 10
13 /// Handles the `global` pub command. 11 /// Handles the `global` pub command.
14 class GlobalCommand extends PubCommand { 12 class GlobalCommand extends PubCommand {
15 String get name => "global"; 13 String get name => "global";
16 String get description => "Work with global packages."; 14 String get description => "Work with global packages.";
17 String get invocation => "pub global <subcommand>"; 15 String get invocation => "pub global <subcommand>";
18 16
19 GlobalCommand() { 17 GlobalCommand() {
20 addSubcommand(new GlobalActivateCommand()); 18 addSubcommand(new GlobalActivateCommand());
21 addSubcommand(new GlobalDeactivateCommand()); 19 addSubcommand(new GlobalDeactivateCommand());
22 addSubcommand(new GlobalListCommand()); 20 addSubcommand(new GlobalListCommand());
23 addSubcommand(new GlobalRunCommand()); 21 addSubcommand(new GlobalRunCommand());
24 } 22 }
25 } 23 }
OLDNEW
« no previous file with comments | « lib/src/command/get.dart ('k') | lib/src/command/global_activate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698