invocation property

  1. @override
String get invocation
override

A single-line template for how to invoke this command (e.g. "pub get package").

Implementation

@override
String get invocation {
  final prefix = parent != null
      ? '${runner!.executableName} ${parent!.name}'
      : runner!.executableName;
  return '$prefix resolve [<id>...]';
}