We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2ddc0 commit cd7a43fCopy full SHA for cd7a43f
lib/pub.dart
@@ -5,10 +5,15 @@
5
// @dart=2.10
6
7
import 'package:args/command_runner.dart';
8
+import 'src/command_runner.dart';
9
import 'src/pub_embeddable_command.dart';
10
export 'src/executable.dart'
11
show getExecutableForCommand, CommandResolutionFailedException;
12
13
/// Returns a [Command] for pub functionality that can be used by an embedding
14
/// CommandRunner.
15
Command<int> pubCommand() => PubEmbeddableCommand();
16
+
17
+/// Support for the `pub` toplevel command.
18
+@Deprecated('Use [pubCommand] instead.')
19
+CommandRunner<int> deprecatedpubCommand() => PubCommandRunner();
0 commit comments