format method
Implementation
Future<void> format(String glob) async {
final res = await runAsync(["format", glob]);
if (0 != res.exitCode) {
throw CliResultException(
message: "Failed to format '$glob'",
exitCode: res.exitCode,
stderr: res.stderr,
);
}
}