mirror of
https://github.com/chenasraf/dart_script_runner.git
synced 2026-05-17 17:48:03 +00:00
doc: fix
This commit is contained in:
@@ -286,7 +286,7 @@ class ScriptRunnerShellConfig {
|
||||
}
|
||||
}
|
||||
|
||||
/// The current OS of the system, of those supported by [ScriptRunner]
|
||||
/// The current OS of the system, of those supported by [RunnableScript]
|
||||
OS get os {
|
||||
if (Platform.isWindows) {
|
||||
return OS.windows;
|
||||
|
||||
@@ -36,15 +36,15 @@ class RunnableScript {
|
||||
/// The script loader pre-loads these as temporary aliases to allow combined scripts to be run.
|
||||
List<RunnableScript> preloadScripts = [];
|
||||
|
||||
/// When set to [false], the command will not print "$ ..." before running the command.
|
||||
/// When set to `false`, the command will not print "$ ..." before running the command.
|
||||
/// This is useful for using the output in other scripts.
|
||||
///
|
||||
/// Defaults to [true].
|
||||
/// Defaults to `true`.
|
||||
final bool displayCmd;
|
||||
|
||||
/// When set to [true], the command will end with a newline. This is useful for using the output in other scripts.
|
||||
/// When set to `true`, the command will end with a newline. This is useful for using the output in other scripts.
|
||||
///
|
||||
/// Defaults to [false].
|
||||
/// Defaults to `false`.
|
||||
final bool appendNewline;
|
||||
|
||||
FileSystem _fileSystem;
|
||||
|
||||
Reference in New Issue
Block a user