run abstract method
Runs the task with the given file paths.
filePaths is the list of file paths to process.
print is a function to print messages.
completeTask is a function to mark the task as complete.
startTask is a function to mark the task as started.
Returns a FutureOr
Implementation
FutureOr<int> run(
List<String> filePaths, {
required void Function(String? string) print,
required void Function(HookTask, int) completeTask,
required void Function(HookTask) startTask,
required String? workingDirectory,
});