mirror of
https://github.com/flutter/packages.git
synced 2025-08-24 11:39:26 +08:00
[tool] Add command aliases (#4207)
Adds aliases for all commands that put the verb first, since currently they are inconsistent which can make it hard to remember (in particular, I often write `check-foo` instead of `foo-check` when running locally, and it fails). Also does the long-overdue renaming of `test` to `dart-test`, since we now have `native-test`, `custom-test`, etc. `test` continues to work as an alias for individual muscle memory.
This commit is contained in:
@ -42,6 +42,9 @@ class XcodeAnalyzeCommand extends PackageLoopingCommand {
|
||||
@override
|
||||
final String name = 'xcode-analyze';
|
||||
|
||||
@override
|
||||
List<String> get aliases => <String>['analyze-xcode'];
|
||||
|
||||
@override
|
||||
final String description =
|
||||
'Runs Xcode analysis on the iOS and/or macOS example apps.';
|
||||
|
Reference in New Issue
Block a user