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 executable = runner?.executableName;
  const shape =
      'park --actor <name> --reason <text> --until <date> [--override-live] '
      '[--json] [--state-root <grid-home>] <work-bead-id>';
  return executable == null ? shape : '$executable $shape';
}