subcommands property

List<String> get subcommands

The flattened leading subcommands of every recorded git call, in order (['add', 'commit', 'push'] for a clean land).

Implementation

List<String> get subcommands => [
  for (final c in calls) c.args.isNotEmpty ? c.args.first : '',
];