Alias for backwards-compatibility. This will be deprecated in the future. You should use scriptlikeEcho insetad.
Just like std.file.append, but optionally takes a Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.chdir, but takes a Path, and echoes if scriptlikeEcho is true.
Just like std.file.chdir, but echoes if scriptlikeEcho is true.
Just like std.file.copy, but optionally takes Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.dirEntries, but takes a Path.
Just like std.file.dirEntries, but takes a Path.
Output a (lazy) string through scriptlike's echo logger. Does nothing if scriptlikeEcho and scriptlikeDryRun are both false.
Just like std.file.exists, but takes a Path.
Checks if the path exists as a directory.
Checks if the path exists as a file.
Checks if the path exists as a symlink.
Just like std.file.getAttributes, but takes a Path.
Just like std.file.getLinkAttributes, but takes a Path.
Just like std.file.getSize, but takes a Path.
Just like std.file.getTimes, but takes a Path.
Windows-only. Just like std.file.getTimesWin, but takes a Path.
Just like std.file.getcwd, but returns a Path.
Just like std.file.mkdir, but optionally takes a Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.mkdirRecurse, but optionally takes a Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.read, but takes a Path.
Posix-only. Just like std.file.readLink, but operates on Path.
Just like std.file.readText, but takes a Path.
Just like std.file.remove, but optionally takes a Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.rename, but optionally takes Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.rmdir, but optionally takes a Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.rmdirRecurse, but optionally takes a Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.setTimes, but optionally takes a Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Posix-only. Just like std.file.symlink, but optionally takes Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.tempDir, but returns a Path.
Just like std.file.thisExePath, but returns a Path.
Just like std.file.timeLastModified, but takes a Path.
Just like std.file.timeLastModified, but takes a Path.
If 'from' exists, then copy. Otherwise do nothing. Obeys scriptlikeEcho and scriptlikeDryRun.
If 'name' doesn't already exist, then mkdir. Otherwise do nothing. Obeys scriptlikeEcho and scriptlikeDryRun.
If 'name' doesn't already exist, then mkdirRecurse. Otherwise do nothing. Obeys scriptlikeEcho and scriptlikeDryRun.
If 'name' exists, then remove. Otherwise do nothing. Obeys scriptlikeEcho and scriptlikeDryRun.
If 'from' exists, then rename. Otherwise do nothing. Obeys scriptlikeEcho and scriptlikeDryRun.
If 'name' exists, then rmdir. Otherwise do nothing. Obeys scriptlikeEcho and scriptlikeDryRun.
If 'name' exists, then rmdirRecurse. Otherwise do nothing. Obeys scriptlikeEcho and scriptlikeDryRun.
Posix-only. If 'original' exists, then symlink. Otherwise do nothing. Obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.write, but optionally takes a Path, and obeys scriptlikeEcho and scriptlikeDryRun.
Just like std.file.isDir, but takes a Path.
Just like std.file.isFile, but takes a Path.
Just like std.file.isSymlink, but takes a Path.
Just like std.file.slurp, but takes a Path.
By default, scriptlikeEcho and scriptlikeDryRun echo to stdout. You can override this behavior by setting scriptlikeCustomEcho to your own sink delegate. Set this to null to go back to Scriptlike's default of "echo to stdout" again.
If true, then run, tryRun, file write, file append, and all the echoable commands that modify the filesystem will be echoed to stdout (regardless of scriptlikeEcho) and NOT actually executed.
If true, all commands will be echoed. By default, they will be echoed to stdout, but you can override this with scriptlikeCustomEcho.