getSubTasks method
Gets the list of sub-tasks for the given file paths.
filePaths
is the list of file paths to process post-filtering.
Implementation
@override
List<HookTask> getSubTasks(Iterable<String> filePaths) => [
for (final (index, command) in _commands(filePaths).indexed)
_OneShellTask(
command: command,
index: index,
),
];