RunnableScript constructor
RunnableScript(})
A runnable script with pre-defined name, cmd and args. May be run using the run
command and optionally
supplying extra arguments to pass.
Implementation
RunnableScript(
this.name, {
required this.cmd,
required this.args,
this.description,
this.workingDir,
this.env = const {},
FileSystem? fileSystem,
this.displayCmd = false,
this.appendNewline = false,
}) : _fileSystem = fileSystem ?? LocalFileSystem();