writeThisBeast method

Future<File> writeThisBeast(
  1. String script
)

Writes the given script to a file in the cache directory.

The script parameter is the script to write.

Implementation

Future<File> writeThisBeast(String script) async {
  await boot();

  return File('${(await cacheRepoDir).path}/together.bash').writeAsString(script.trim());
}