Upgrading dcli 0.51 to 1
Unknown0.51.10 → 1.36.2
UnknownUpgrade verdict
DepDelta hasn't looked for this range's notes yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
- Their commits are listed with this comparison.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
Dart SDK requirement changed in 1.35.2: >=2.12.0 <3.0.0 → >=2.17.0 <3.0.0.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
class Assets - removed:
class BashShell with ShellMixin, PosixShell - removed:
class CDException extends FunctionException - removed:
class CatException extends DCliFunctionException - removed:
class ChModException extends DCliFunctionException - removed:
class ChOwnException extends DCliFunctionException - removed:
class CopyException extends FunctionException - removed:
class CopyTreeException extends FunctionException - removed:
class CreateDirException extends FunctionException - removed:
class DCliException implements Exception - removed:
class DeleteDirException extends FunctionException - removed:
class DeleteException extends DCliFunctionException - removed:
class Env extends DCliFunction - removed:
class Executable - removed:
class Find extends DCliFunction - removed:
class MoveDirException extends FunctionException - removed:
class MoveException extends FunctionException - removed:
class MoveTreeException extends FunctionException - removed:
class PopException extends FunctionException - removed:
class PushException extends DCliFunctionException - removed:
class RunException extends DCliException - removed:
class Script - removed:
class TouchException extends DCliFunctionException - removed:
class Which - removed:
class ZshShell with ShellMixin, PosixShell - removed:
ctor Assets() - removed:
ctor BashShell.withPid(this.pid) - removed:
ctor CDException(String reason) - removed:
ctor CatException(String reason, [StackTraceImpl? stacktrace]) - removed:
ctor ChModException(String reason, [StackTraceImpl? stacktrace]) - removed:
ctor ChOwnException(String reason, [StackTraceImpl? stacktrace]) - removed:
ctor CopyException(String reason) - removed:
ctor CopyTreeException(String reason) - removed:
ctor CreateDirException(String reason) - removed:
ctor DCliException(this.message, [StackTraceImpl? stackTrace]) - removed:
ctor DCliException.from(this.cause, this.stackTrace) - removed:
ctor DeleteDirException(String reason) - removed:
ctor DeleteException(String reason) - removed:
ctor Env() - removed:
ctor Executable(this.name, this.pathToScript) - removed:
ctor MoveDirException(String reason) - removed:
ctor MoveException(String reason) - removed:
ctor MoveTreeException(String reason) - removed:
ctor PopException(String reason) - removed:
ctor PushException(String reason) - removed:
ctor RunException(this.cmdLine, this.exitCode, this.reason, {StackTraceImpl? stackTrace}) - removed:
ctor RunException.withArgs( String? cmd, List<String?> args, this.exitCode, this.reason, {StackTraceImpl? stackTrace}) - removed:
ctor Script.fromFile(String scriptPathTo, {DartProject? project}) - removed:
ctor Settings.init({ this.appname = …, }) - removed:
ctor TouchException(String reason) - removed:
ctor ZshShell.withPid(this.pid) - removed:
field BashShell.pid: final int? - removed:
field DCliException.cause: final Object? - removed:
field DCliException.message: final String - removed:
field DCliException.stackTrace: final StackTraceImpl - removed:
field Env.[]: void operator - removed:
field Executable.name: String - removed:
field Executable.pathToScript: String - removed:
field Progress.includeStderr: final bool - removed:
field Progress.includeStdout: final bool - removed:
field RunException.cmdLine: String - removed:
field RunException.exitCode: int? - removed:
field RunException.reason: String - removed:
field Settings.appname: final String - removed:
field Which.progress: Progress? - removed:
field ZshShell.pid: final int? - removed:
function chmod(int permission, String path): void - removed:
function chown(String path, {String? user, String? group, bool recursive = …}): void - removed:
function devNull(String? line): void - removed:
function isOnPATH(String path): bool - removed:
function privatePath(String part1, [String? part2, String? part3, String? part4, String? part5, String? part6, String? part7]): String - removed:
function truepath(String part1, [String? part2, String? part3, String? part4, String? part5, String? part6, String? part7]): String - removed:
get BashShell.hasStartScript: bool - removed:
get BashShell.isCompletionInstalled: bool - removed:
get BashShell.isCompletionSupported: bool - removed:
get BashShell.name: String - removed:
get BashShell.pathToStartScript: String - removed:
get BashShell.startScriptName: String - removed:
get Env.HOME: String - removed:
get Env.delimiterForPATH: String - removed:
get Env.entries: Iterable<MapEntry<String, String>> - removed:
get HOME: String - removed:
get PATH: List<String> - removed:
get PosixShell.isPrivilegedProcess: bool - removed:
get PosixShell.isPrivilegedUser: bool - removed:
get PosixShell.isSudo: bool - removed:
get PosixShell.loggedInUser: String - removed:
get PosixShell.loggedInUsersHome: String - removed:
get RunException.message: String - removed:
get Script.basename: String - removed:
get Script.doctor: void - removed:
get Script.exeName: String - removed:
get Script.isCompiled: bool - removed:
get Script.isInstalled: bool - removed:
get Script.isPubGlobalActivated: bool - removed:
get Script.isReadyToRun: bool - removed:
get Script.pathToExe: String - removed:
get Script.pathToInstalledExe: String - removed:
get Script.pathToProjectRoot: String - removed:
get Script.pathToPubSpec: String - removed:
get Script.pathToScript: String - removed:
get Script.pathToScriptDirectory: String - removed:
get Script.project: DartProject - removed:
get Script.pubSpec: PubSpec - removed:
get Script.pubsecNameKey: String - removed:
get Script.scriptname: String - removed:
get Settings.pathToDCliCache: String - removed:
get Which.found: bool - removed:
get Which.notfound: bool - removed:
get Which.path: String? - removed:
get Which.paths: List<String> - removed:
get WindowsMixin.isSudo: bool - removed:
get WindowsMixin.loggedInUser: String? - removed:
get ZshShell.hasStartScript: bool - removed:
get ZshShell.hashCode: int - removed:
get ZshShell.isCompletionInstalled: bool - removed:
get ZshShell.isCompletionSupported: bool - removed:
get ZshShell.name: String - removed:
get ZshShell.pathToStartScript: String - removed:
get ZshShell.startScriptName: String - removed:
get envs: Map<String, String> - removed:
get pwd: String - removed:
get rootPath: String - removed:
member Interval.millseconds - removed:
method Assets.list(String pattern, {required String root, bool recursive = …}): List<String?> - removed:
method Assets.loadBytes(String path): Uint8List - removed:
method Assets.loadString(String path): String - removed:
method BashShell.addToPATH(String path): bool - removed:
method BashShell.installTabCompletion({bool quiet = …}): void - removed:
method CatException.copyWith(StackTraceImpl stackTrace): DCliException - removed:
method ChModException.copyWith(StackTraceImpl stackTrace): DCliException - removed:
method ChOwnException.copyWith(StackTraceImpl stackTrace): DCliException - removed:
method DCliException.copyWith(StackTraceImpl stackTrace): DCliException - removed:
method DCliException.printStackTrace(): void - removed:
method DCliException.toString(): String - removed:
method DartProject.createScript(String scriptName, {String templateName = …}): Script - removed:
method DartProject.initFiles(): void - removed:
method Env.addAll(Map<String, String> other): void - removed:
method Env.addToPATHIfAbsent(String newPath): void - removed:
method Env.appendToPATH(String newPath): void - removed:
method Env.fromJson(String json): void - removed:
method Env.isOnPATH(String checkPath): bool - removed:
method Env.operator [](String name): String? - removed:
method Env.prependToPATH(String newPath): void - removed:
method Env.removeFromPATH(String oldPath): void - removed:
method Env.toJson(): String - removed:
method PosixShell.checkInstallPreconditions(): String? - removed:
method PosixShell.install({bool installDart = …}): bool - removed:
method PosixShell.privilegesRequiredMessage(String app): String - removed:
method PosixShell.releasePrivileges(): void - removed:
method PosixShell.withPrivileges(RunPrivileged privilegedCallback): void - removed:
method ReadException.copyWith(StackTraceImpl stackTrace): DCliException - removed:
method RunException.copyWith(StackTraceImpl stackTrace): RunException - removed:
method Script.compile({bool install = …, bool overwrite = …}): void - removed:
method Script.run(List<String> args): int - removed:
method UnknownShell.addPathToMacOsPathd(String path): bool - removed:
method WindowsMixin.checkInstallPreconditions(): String? - removed:
method WindowsMixin.inDeveloperMode(): bool - removed:
method WindowsMixin.install({bool installDart = …}): bool - removed:
method WindowsMixin.privilegesRequiredMessage(String app): String - removed:
method WindowsMixin.releasePrivileges(): void - removed:
method WindowsMixin.withPrivileges(RunPrivileged privilegedCallback): void - removed:
method ZshShell.addToPATH(String path): bool - removed:
method ZshShell.installTabCompletion({bool quiet = …}): void - removed:
method ZshShell.operator ==(covariant ZshShell other): bool - removed:
mixin PosixShell - removed:
mixin WindowsMixin - removed:
static field BashShell.shellName: const String - removed:
static field Find.directory: const - removed:
static field Find.file: const - removed:
static field Find.link: const - removed:
static field Settings.dcliCacheDir: const - removed:
static field ZshShell.shellName: const String - removed:
static get Script.current: Script - removed:
static method Env.reset(): void - removed:
static method PubCache.reset(): void - removed:
static method Script.sansRoot(String path): String - removed:
static method Script.validate(String scriptPath): void - removed:
static method Settings.reset(): void - removed:
static method WindowsMixin.setPath(List<String?> paths): void - removed:
static set Env.mock(Env mockEnv) - removed:
variable env: Env - changed:
class Ask extends DCliFunction → class Ask extends core.DCliFunction - changed:
class FetchException extends DCliException → class FetchException extends core.DCliException - changed:
class ReadException extends DCliFunctionException → class ReadException extends core.DCliFunctionException - changed:
ctor AskValidatorException(String message) → ctor AskValidatorException(super.message) - changed:
ctor DartProjectException(String message) → ctor DartProjectException(super.message) - changed:
ctor FetchException(String message) → ctor FetchException(super.message) - changed:
ctor FetchUrl( {required this.url, required this.saveToPath, this.progress = …}) → ctor FetchUrl( {required this.url, required this.saveToPath, Map<String, String>? headers, this.method = …, this.progress = …, this.data}) - changed:
ctor FileSort(String inputPath, String outputPath, List<Column> columns, String? fieldDelimiter, String? lineDelimiter, {this.verbose = …}) → ctor FileSort( String inputPath, String outputPath, List<Column> columns, String? fieldDelimiter, String? lineDelimiter, { this.verbose = …, }) - changed:
ctor LockException(String message) → ctor LockException(super.message) - changed:
ctor Progress(LineAction stdout, {LineAction stderr = …}) → ctor Progress( LineAction stdout, { LineAction stderr = …, bool captureStdin = …, bool captureStderr = …, }) - changed:
ctor Progress.print() → ctor Progress.print({bool capture = …}) - changed:
ctor Progress.printStdErr() → ctor Progress.printStdErr({bool capture = …}) - changed:
ctor Progress.printStdOut() → ctor Progress.printStdOut({bool capture = …}) - changed:
ctor Progress.stream({this.includeStdout = …, this.includeStderr = …}) → ctor Progress.stream({bool includeStdout = …, bool includeStderr = …}) - changed:
ctor PubSpec.fromScript(Script script) → ctor PubSpec.fromScript(DartScript script) - changed:
ctor ReadException(String reason, [StackTraceImpl? stacktrace]) → ctor ReadException(super.reason, [super.stacktrace]) - changed:
ctor ShellException(String reason) → ctor ShellException(super.reason) - changed:
field DCliPaths.dcliCompleteName: String? → field DCliPaths.dcliCompleteName: late final String - changed:
field DCliPaths.dcliInstallName: String? → field DCliPaths.dcliInstallName: late final String - changed:
field DCliPaths.dcliName: late String → field DCliPaths.dcliName: late final String - changed:
function ask(String prompt, {bool toLower = …, bool hidden = …, bool required = …, String? defaultValue, AskValidator validator = …}): String → function ask( String prompt, { bool toLower = …, bool hidden = …, bool required = …, String? defaultValue, AskValidator validator = …, }): String - changed:
function copyTree(String from, String to, {bool overwrite = …, bool includeHidden = …, bool recursive = …, bool Function(String file) filter = …}): void → function copyTree( String from, String to, { bool overwrite = …, bool includeHidden = …, bool recursive = …, bool Function(String file) filter = …, }): void - changed:
function fetch( {required String url, required String saveToPath, OnFetchProgress fetchProgress = …}): void → function fetch({ required String url, required String saveToPath, FetchMethod method = …, Map<String, String>? headers, OnFetchProgress fetchProgress = …, FetchData? data, }): void - changed:
function find( String pattern, { bool caseSensitive = …, bool recursive = …, bool includeHidden = …, String workingDirectory = …, Progress? progress, List<FileSystemEntityType> types = …, }): Progress → function find( String pattern, { bool caseSensitive = …, bool recursive = …, bool includeHidden = …, String workingDirectory = …, Progress? progress, List<FileSystemEntityType> types = …, }): FindProgress - changed:
function head(String path, int lines): Progress → function head(String path, int lines): HeadProgress - changed:
function menu<T>( {required String prompt, required List<T> options, T? defaultOption, int? limit, String Function(T)? format, bool fromStart = …}): T → function menu<T>({ required String prompt, required List<T> options, T? defaultOption, int? limit, String Function(T)? format, bool fromStart = …, }): T - changed:
function moveTree(String from, String to, {bool overwrite = …, bool includeHidden = …, bool Function(String file) filter = …}): void → function moveTree( String from, String to, { bool overwrite = …, bool includeHidden = …, bool Function(String file) filter = …, }): void - changed:
function replace(String path, String existing, String replacement, {bool all = …}): int → function replace( String path, Pattern existing, String replacement, { bool all = …, }): int - changed:
function run(String commandLine, {bool runInShell = …, bool nothrow = …, bool privileged = …, String? workingDirectory}): int? → function run( String commandLine, { bool runInShell = …, bool nothrow = …, bool privileged = …, String? workingDirectory, bool extensionSearch = …, }): int? - changed:
function start(String commandLine, {Progress? progress, bool runInShell = …, bool detached = …, bool terminal = …, bool nothrow = …, bool privileged = …, String? workingDirectory}): Progress → function start( String commandLine, { Progress? progress, bool runInShell = …, bool detached = …, bool terminal = …, bool nothrow = …, bool privileged = …, String? workingDirectory, bool extensionSearch = …, }): Progress - changed:
function startFromArgs( String command, List<String> args, { Progress? progress, bool runInShell = …, bool detached = …, bool terminal = …, bool privileged = …, bool nothrow = …, String? workingDirectory, }): Progress → function startFromArgs( String command, List<String> args, { Progress? progress, bool runInShell = …, bool detached = …, bool terminal = …, bool privileged = …, bool nothrow = …, String? workingDirectory, bool extensionSearch = …, }): Progress - changed:
function tail(String path, int lines): Progress → function tail(String path, int lines): TailProgress - changed:
function which(String appname, {bool first = …, bool verbose = …, Progress? progress}): Which → function which( String appname, { bool first = …, bool verbose = …, bool extensionSearch = …, Sink<String>? progress, }): core.Which - changed:
get DartSdk.version: String? → get DartSdk.version: String - changed:
get PubCache.cacheDir: String? → get PubCache.cacheDir: String - changed:
get PubSpec.executables: List<Executable> → get PubSpec.executables: List<pub.Executable> - changed:
get StringAsProcess.sink: Sink → get StringAsProcess.sink: Sink<List<int>> - changed:
method DartProject.warmup({bool background = …}): void → method DartProject.warmup({bool background = …, bool upgrade = …}): void - changed:
method DartSdk.runDartCompiler(Script script, {required String pathToExe, Progress? progress}): void → method DartSdk.runDartCompiler( DartScript script, { required String pathToExe, Progress? progress, String? workingDirectory, }): void - changed:
method DartSdk.runPubGet(String? workingDirectory, {Progress? progress, bool? compileExecutables}): void → method DartSdk.runPubGet( String? workingDirectory, { Progress? progress, bool compileExecutables = …, }): void - changed:
method FileSync.append(String line, {String? newline = …}): void → method FileSync.append(String line, {String? newline}): void - changed:
method FileSync.readLine({String lineDelimiter = …}): String? → method FileSync.readLine({String? lineDelimiter}): String? - changed:
method FileSync.write(String line, {String? newline = …}): void → method FileSync.write(String line, {String? newline}): void - changed:
method ProcessHelper.getParentPID(int? childPid): int? → method ProcessHelper.getParentPID(int? childPid): int - changed:
method ProcessHelper.getProcessName(int? pid): String? → method ProcessHelper.getProcessName(int pid): String? - changed:
method Progress.toList({final int skipLines = …}): List<String> → method Progress.toList({int skipLines = …}): List<String> - changed:
method Shell.withPrivileges(RunPrivileged privilegedCallback): void → method Shell.withPrivileges(RunPrivileged action, {bool allowUnprivileged = …}): void - changed:
method StringAsProcess.append(String line, {String newline = …}): void → method StringAsProcess.append(String line, {String? newline}): void - changed:
method StringAsProcess.forEach(LineAction stdout, {LineAction stderr = …, bool runInShell = …}): void → method StringAsProcess.forEach( core.LineAction stdout, { core.LineAction stderr = …, bool runInShell = …, bool extensionSearch = …, }): void - changed:
method StringAsProcess.start({ Progress? progress, bool runInShell = …, bool detached = …, bool terminal = …, bool nothrow = …, bool privileged = …, String? workingDirectory, }): void → method StringAsProcess.start({ Progress? progress, bool runInShell = …, bool detached = …, bool terminal = …, bool nothrow = …, bool privileged = …, String? workingDirectory, bool extensionSearch = …, }): Progress - changed:
method StringAsProcess.stream( {bool runInShell = …, String? workingDirectory, bool nothrow = …, bool includeStderr = …}): Stream<String> → method StringAsProcess.stream({ bool runInShell = …, String? workingDirectory, bool nothrow = …, bool includeStderr = …, bool extensionSearch = …, }): Stream<String> - changed:
method StringAsProcess.toList( {bool runInShell = …, int skipLines = …, bool nothrow = …}): List<String> → method StringAsProcess.toList({ bool runInShell = …, int skipLines = …, bool nothrow = …, String? workingDirectory, bool extensionSearch = …, }): List<String> - changed:
method StringAsProcess.write(String line, {String newline = …}): void → method StringAsProcess.write(String line, {String? newline}): void - changed:
method UnknownShell.install({bool installDart = …}): bool → method UnknownShell.install({bool installDart = …, bool activate = …}): bool - changed:
method UnknownShell.withPrivileges(RunPrivileged privilegedCallback): void → method UnknownShell.withPrivileges(RunPrivileged action, {bool allowUnprivileged = …}): void - changed:
static method Ask.inList(List<Object> validItems, {bool caseSensitive = …}): AskValidator → static method Ask.inList( List<Object> validItems, { bool caseSensitive = …, }): AskValidator - changed:
static method Format.bytesAsReadable(int bytes): String → method Format.bytesAsReadable(int bytes, {bool pad = …}): String - changed:
static method Format.percentage(double progress, int precision): String → method Format.percentage(double progress, int precision): String - changed:
static method Format.row(List<String?> cols, {List<int>? widths, List<TableAlignment>? alignments, String? delimiter}): String → method Format.row( List<String?> cols, { List<int>? widths, List<TableAlignment>? alignments, String? delimiter, }): String - changed:
static method Remote.exec( {required String host, required String command, bool agent = …, bool sudo = …, String? password, Progress? progress}): void → method Remote.exec({ required String host, required String command, bool agent = …, bool sudo = …, String? password, Progress? progress, }): void - changed:
static method Remote.execList( {required String host, required List<String?> commands, bool agent = …, bool sudo = …, String? password, Progress? progress}): void → method Remote.execList({ required String host, required List<String?> commands, bool agent = …, bool sudo = …, String? password, Progress? progress, }): void - changed:
static method Remote.scp( {required List<String> from, required String to, String? fromHost, String? toHost, String? fromUser, String? toUser, bool recursive = …, Progress? progress}): void → method Remote.scp({ required List<String> from, required String to, String? fromHost, String? toHost, String? fromUser, String? toUser, bool recursive = …, Progress? progress, }): void - changed:
static method Terminal.write(String text): void → method Terminal.write(String text): void - added:
class DartScript - added:
class ExitException implements Exception - added:
class FetchData - added:
class FileNotFoundException extends core.DCliException - added:
class InvalidProjectTemplateException extends DCliException - added:
class NotAFileException extends core.DCliException - added:
class PackedResource: abstract - added:
class ProcessDetails - added:
class TemplateFlag extends Flag - added:
class TemplateListFlag extends Flag - added:
class TemplateNotFoundException extends DCliException - added:
ctor DartProject.create( {required String pathTo, required String templateName}) - added:
ctor DartProject.fromCache(String name, String version) - added:
ctor DartScript.createScript( {required DartProject project, required String scriptName, required String templateName}) - added:
ctor DartScript.fromFile(String scriptPathTo, {DartProject? project}) - added:
ctor ExitException(this.exitCode) - added:
ctor FetchData.fromBytes(List<int> bytes, {String mimeType = …}) - added:
ctor FetchData.fromFile(String pathToData, {String? mimeType}) - added:
ctor FetchData.fromStream(Stream<List<int>> stream, {String mimeType = …}) - added:
ctor FetchData.fromString(String string, {String mimeType = …}) - added:
ctor FetchException.fromException(SocketException super.e) - added:
ctor FetchException.fromHttpError(this.errorCode, String reasonPhrase) - added:
ctor FetchProgress.complete(this.fetch, this.length, this.downloaded, {required this.prior}) - added:
ctor FetchProgress.connected(this.fetch, {required this.prior}) - added:
ctor FetchProgress.connecting(this.fetch, {required this.prior}) - added:
ctor FetchProgress.downloading(this.fetch, this.length, this.downloaded, {required this.prior}) - added:
ctor FetchProgress.error(this.fetch, {required this.prior}) - added:
ctor FetchProgress.forHeaders(this.fetch, this.headers, {required this.prior}) - added:
ctor FetchProgress.initialising(this.fetch) - added:
ctor FetchProgress.response(this.fetch, this.responseCode, {required this.prior}) - added:
ctor FileNotFoundException(String path) - added:
ctor Format() - added:
ctor InvalidProjectTemplateException(super.message) - added:
ctor NotAFileException(String path) - added:
ctor PackedResource() - added:
ctor ProcessDetails(this.pid, this.name, String memory) - added:
ctor Progress.capture({bool captureStdout = …, bool captureStderr = …}) - added:
ctor PubCache.forScope() - added:
ctor Remote() - added:
ctor Settings.forScope() - added:
ctor TemplateFlag() - added:
ctor TemplateListFlag() - added:
ctor TemplateNotFoundException(String pathTo) - added:
enum FetchMethod - added:
extension DigestHelper on Digest - added:
field ExitException.exitCode: int - added:
field FetchException.errorCode: int? - added:
field FetchProgress.headers: final Map<String, List<String>>? - added:
field FetchProgress.prior: FetchProgress? - added:
field FetchProgress.responseCode: final int? - added:
field FetchUrl.data: FetchData? - added:
field FetchUrl.headers: late final Map<String, String> - added:
field FetchUrl.method: final FetchMethod - added:
field ProcessDetails.memoryUnits: late final String? - added:
field ProcessDetails.name: final String - added:
field ProcessDetails.pid: final int - added:
function backupFile(String pathToFile, {bool ignoreMissing = …}): void - added:
function calculateHash(String path): Digest - added:
function capture<R>(R Function() action, {Progress? progress}): Future<Progress> - added:
function createTempDir(): String - added:
function createTempFile({String? suffix}): String - added:
function createTempFilename({String? suffix, String? pathToTempDir}): String - added:
function dcliExit(int exitCode): void - added:
function fileLength(String pathToFile): int - added:
function isEmpty(String pathToDirectory): bool - added:
function restoreFile(String pathToFile, {bool ignoreMissing = …}): void - added:
function verbose(String Function() callback): void - added:
function withEnvironment<R>(R Function() callback, {required Map<String, String> environment}): R - added:
function withFileProtection<R>( List<String> protected, R Function() action, { String? workingDirectory, }): R - added:
function withOpenFile<R>( String pathToFile, R Function(FileSync) action, { FileMode fileMode = …, }): R - added:
function withTempDir<R>(R Function(String tempDir) action, {bool keep = …, String? pathToTempDir}): R - added:
function withTempFile<R>( R Function(String tempFile) action, { String? suffix, String? pathToTempDir, bool create = …, bool keep = …, }): R - added:
get DCliPaths.pathToDCli: String? - added:
get DartProject.isFlutterProject: bool - added:
get DartProject.pathToAnalysisOptions: String - added:
get DartProject.pathToBinDir: String - added:
get DartProject.pathToDartToolDir: String - added:
get DartProject.pathToDartToolPackageConfig: String - added:
get DartProject.pathToExampleDir: String - added:
get DartProject.pathToLibDir: String - added:
get DartProject.pathToLibSrcDir: String - added:
get DartProject.pathToPubSpecLock: String - added:
get DartProject.pathToTestDir: String - added:
get DartProject.pathToToolDir: String - added:
get DartScript.basename: String - added:
get DartScript.doctor: void - added:
get DartScript.exeName: String - added:
get DartScript.inUnitTest: bool - added:
get DartScript.isCompiled: bool - added:
get DartScript.isInstalled: bool - added:
get DartScript.isPubGlobalActivated: bool - added:
get DartScript.isReadyToRun: bool - added:
get DartScript.pathToExe: String - added:
get DartScript.pathToInstalledExe: String - added:
get DartScript.pathToProjectRoot: String - added:
get DartScript.pathToPubSpec: String - added:
get DartScript.pathToScript: String - added:
get DartScript.pathToScriptDirectory: String - added:
get DartScript.project: DartProject - added:
get DartScript.pubSpec: PubSpec - added:
get DartScript.pubsecNameKey: String - added:
get DartScript.scriptName: String - added:
get DartSdk.useDartDocCommand: bool - added:
get FetchData.mimeType: String - added:
get PackedResource.checksum: String - added:
get PackedResource.content: String - added:
get PackedResource.originalPath: String - added:
get ProcessDetails.hashCode: int - added:
get ProcessDetails.memory: int - added:
get Progress.lines: List<String> - added:
get PubCache.pathToDartLang: String - added:
get PubCache.pathToHosted: String - added:
get Settings.logger: Logger - added:
get Settings.pathToTemplateProject: String - added:
get Settings.pathToTemplateProjectCustom: String - added:
get Settings.pathToTemplateScript: String - added:
get Settings.pathToTemplateScriptCustom: String - added:
get Shell.canModifyPath: bool - added:
get Shell.installInstructions: String - added:
get Shell.isPrivilegedPasswordRequired: bool - added:
get TemplateFlag.abbreviation: String - added:
get TemplateFlag.hasOption: bool - added:
get TemplateFlag.isOptionSupported: bool - added:
get TemplateFlag.option: String - added:
get TemplateListFlag.abbreviation: String - added:
get TemplateListFlag.hasOption: bool - added:
get TemplateListFlag.isOptionSupported: bool - added:
get TemplateListFlag.option: String - added:
get Terminal.column: int - added:
get Terminal.columns: int - added:
get Terminal.hasTerminal: bool - added:
get Terminal.lines: int - added:
get Terminal.row: int - added:
get Terminal.rows: int - added:
get UnknownShell.canModifyPath: bool - added:
get UnknownShell.installInstructions: String - added:
get UnknownShell.isPrivilegedPasswordRequired: bool - added:
member FetchMethod.get - added:
member FetchMethod.post - added:
member FetchStatus.headers - added:
member FetchStatus.response - added:
member Interval.milliseconds - added:
method DartScript.compile({ bool install = …, bool overwrite = …, String? workingDirectory, }): void - added:
method DartScript.run({List<String> args = …}): int - added:
method DartScript.runPubGet(): void - added:
method DartScript.start({ List<String> args = …, Progress? progress, bool runInShell = …, bool detached = …, bool terminal = …, bool privileged = …, bool nothrow = …, String? workingDirectory, bool extensionSearch = …, }): Progress - added:
method DartSdk.getVersion(): Version - added:
method DartSdk.globalDeactivate(String package): void - added:
method DartSdk.isPackageGlobalActivateFromPath(String path): void - added:
method DartSdk.isPackageGloballyActivated(String package): bool - added:
method DartSdk.isPubGetRequired(String workingDirectory): bool - added:
method DartSdk.run({ required List<String> args, String? workingDirectory, Progress? progress, bool detached = …, bool terminal = …, bool nothrow = …, }): Progress - added:
method DartSdk.runDartDoc({ String? pathToProject, String? pathToDoc, List<String> args = …, Progress? progress, bool nothrow = …, }): Progress - added:
method DartSdk.runPub({ required List<String> args, String? workingDirectory, Progress? progress, bool nothrow = …, }): Progress - added:
method DartSdk.runPubUpgrade( String? workingDirectory, { Progress? progress, bool compileExecutables = …, }): void - added:
method DigestHelper.hexEncode(): String - added:
method FileSync.readIntoSync(List<int> buffer, [int start = …, int? end]): int - added:
method FileSync.writeFromSync(List<int> buffer, [int start = …, int? end]): void - added:
method Format.limitString(String display, {int width = …}): String - added:
method PackedResource.unpack(String pathTo): void - added:
method ProcessDetails.compareTo(ProcessDetails other): int - added:
method ProcessDetails.operator ==(covariant ProcessDetails other): bool - added:
method ProcessHelper.getProcesses(): List<ProcessDetails> - added:
method ProcessHelper.getProcessesByName(String name): List<ProcessDetails> - added:
method ProcessHelper.isProcessRunning(String name): bool - added:
method Progress.toParagraph({int skipLines = …}): String - added:
method PubCache.findPrimaryVersion(String packageName): Version? - added:
method PubCache.globalActivate(String packageName): void - added:
method PubCache.globalActivateFromSource(String path): void - added:
method PubCache.globalDeactivate(String packageName): void - added:
method PubCache.isGloballyActivated(String packageName): bool - added:
method PubCache.isGloballyActivatedFromSource(String packageName): bool - added:
method PubCache.isInstalled(String packageName): bool - added:
method PubCache.pathToPackage(String packageName, String version): String - added:
method Shell.addFileAssocation(String dcliPath): void - added:
method Shell.appendToPATH(String path): bool - added:
method Shell.prependToPATH(String path): bool - added:
method Shell.restorePrivileges(): void - added:
method StringAsProcess.toParagraph({ bool runInShell = …, int skipLines = …, bool nothrow = …, String? workingDirectory, bool extensionSearch = …, }): String - added:
method TemplateFlag.description(): String - added:
method TemplateFlag.usage(): String - added:
method TemplateListFlag.description(): String - added:
method TemplateListFlag.usage(): String - added:
method Terminal.cursorDown(): void - added:
method Terminal.cursorLeft(): void - added:
method Terminal.cursorRight(): void - added:
method Terminal.cursorUp(): void - added:
method Terminal.home(): void - added:
method Terminal.overwriteLine(String text): void - added:
method Terminal.writeLine(String text, {TextAlignment alignment = …}): void - added:
method UnknownShell.addFileAssocation(String dcliPath): void - added:
method UnknownShell.appendPathToMacOsPathd(String path): bool - added:
method UnknownShell.appendToPATH(String path): bool - added:
method UnknownShell.prependToPATH(String path): bool - added:
method UnknownShell.restorePrivileges(): void - added:
set PubSpec.name(String? name) - added:
set TemplateFlag.option(String? value) - added:
set TemplateListFlag.option(String? value) - added:
set Terminal.row(int row) - added:
static field PubCache.scopeKey: ScopeKey<PubCache> - added:
static field Settings.dcliAppName: const String - added:
static field Settings.scopeKey: ScopeKey<Settings> - added:
static field TemplateFlag.defaultTemplateName: const - added:
static field TemplateFlag.defaultTemplatePath: final String - added:
static field TemplateFlag.flagName: const - added:
static field TemplateListFlag.flagName: const - added:
static get DartProject.self: DartProject - added:
static get DartScript.current: DartScript - added:
static get DartScript.self: DartScript - added:
static method Ansi.strip(String line): String - added:
static method DartProject.findProject(String pathToSearchFrom, {bool search = …}): DartProject? - added:
static method DartScript.sansRoot(String path): String - added:
static method DartScript.stripDartVersionSuffix(String pathToCurrentScript): String - added:
static method DartScript.validate(String scriptPath): void - added:
static method DigestHelper.hexDecode(String hexValue): Digest - added:
static method FetchProgress.formatByteLine(FetchProgress progress): _ProgressByteUpdate - added:
static method FetchProgress.show( FetchProgress progress, { String Function(FetchProgress progress)? format, }): void - added:
static method FetchProgress.showBytes(FetchProgress progress): void
- added:
class DockerShell with ShellMixin, PosixShell - added:
ctor DockerShell.withPid(this.pid) - added:
field DockerShell.pid: final int? - added:
get DockerShell.canModifyPath: bool - added:
get DockerShell.hasStartScript: bool - added:
get DockerShell.installInstructions: String - added:
get DockerShell.isCompletionInstalled: bool - added:
get DockerShell.isCompletionSupported: bool - added:
get DockerShell.isPrivilegedProcess: bool - added:
get DockerShell.isPrivilegedUser: bool - added:
get DockerShell.loggedInUser: String - added:
get DockerShell.loggedInUsersHome: String - added:
get DockerShell.name: String - added:
get DockerShell.pathToStartScript: String - added:
get DockerShell.startScriptName: String - added:
method DockerShell.addFileAssocation(String dcliPath): void - added:
method DockerShell.addToPATH(String path): bool - added:
method DockerShell.appendToPATH(String path): bool - added:
method DockerShell.installTabCompletion({bool quiet = …}): void - added:
method DockerShell.prependToPATH(String path): bool - added:
method DockerShell.releasePrivileges(): void - added:
method DockerShell.restorePrivileges(): void - added:
method DockerShell.withPrivileges(RunPrivileged action, {bool allowUnprivileged = …}): void - added:
static field DockerShell.inDocker: final bool - added:
static field DockerShell.shellName: const String
- added:
class AshShell with ShellMixin, PosixShell - added:
class BashShell with ShellMixin, PosixShell - added:
class ChModException extends DCliFunctionException - added:
class ChOwnException extends core.DCliFunctionException - added:
class DashShell with ShellMixin, PosixShell - added:
class FishShell with ShellMixin, PosixShell - added:
class Immutable<T> - added:
class ShShell with ShellMixin, PosixShell - added:
class UserEnvironment - added:
class ZshShell with ShellMixin, PosixShell - added:
ctor AshShell.withPid(this.pid) - added:
ctor BashShell.withPid(this.pid) - added:
ctor ChModException(super.reason, [super.stacktrace]) - added:
ctor ChOwnException(super.reason, [super.stacktrace]) - added:
ctor DashShell.withPid(this.pid) - added:
ctor FishShell.withPid(this.pid) - added:
ctor Immutable() - added:
ctor ShShell.withPid(this.pid) - added:
ctor UserEnvironment.preSudo({required this.pathToHome}) - added:
ctor UserEnvironment.save() - added:
ctor ZshShell.withPid(this.pid) - added:
field AshShell.pid: final int? - added:
field BashShell.pid: final int? - added:
field DashShell.pid: final int? - added:
field FishShell.pid: final int? - added:
field Immutable.wrapped: T? - added:
field PosixShell.nonPriviledgedUser: late final Immutable<UserEnvironment> - added:
field PosixShell.priviledgedUser: late final Immutable<UserEnvironment> - added:
field ShShell.pid: final int? - added:
field UserEnvironment.gid: late final int - added:
field UserEnvironment.pathToHome: late final String - added:
field UserEnvironment.pathToShell: late final String? - added:
field UserEnvironment.uid: late final int - added:
field UserEnvironment.username: late final String - added:
field ZshShell.pid: final int? - added:
function chmod(String path, {required String permission}): void - added:
function chown(String path, {String? user, String? group, bool recursive = …}): void - added:
get AshShell.canModifyPath: bool - added:
get AshShell.hasStartScript: bool - added:
get AshShell.isCompletionInstalled: bool - added:
get AshShell.isCompletionSupported: bool - added:
get AshShell.name: String - added:
get AshShell.pathToStartScript: String - added:
get AshShell.startScriptName: String - added:
get BashShell.canModifyPath: bool - added:
get BashShell.hasStartScript: bool - added:
get BashShell.isCompletionInstalled: bool - added:
get BashShell.isCompletionSupported: bool - added:
get BashShell.name: String - added:
get BashShell.pathToStartScript: String - added:
get BashShell.startScriptName: String - added:
get DashShell.canModifyPath: bool - added:
get DashShell.hasStartScript: bool - added:
get DashShell.isCompletionInstalled: bool - added:
get DashShell.isCompletionSupported: bool - added:
get DashShell.name: String - added:
get DashShell.pathToStartScript: String - added:
get DashShell.startScriptName: String - added:
get FishShell.canModifyPath: bool - added:
get FishShell.hasStartScript: bool - added:
get FishShell.hashCode: int - added:
get FishShell.isCompletionInstalled: bool - added:
get FishShell.isCompletionSupported: bool - added:
get FishShell.name: String - added:
get FishShell.pathToStartScript: String - added:
get FishShell.startScriptName: String - added:
get PosixShell.installInstructions: String - added:
get PosixShell.isPrivilegedPasswordRequired: bool - added:
get PosixShell.isPrivilegedProcess: bool - added:
get PosixShell.isPrivilegedUser: bool - added:
get PosixShell.isSudo: bool - added:
get PosixShell.loggedInUser: String - added:
get PosixShell.loggedInUsersHome: String - added:
get ShShell.canModifyPath: bool - added:
get ShShell.hasStartScript: bool - added:
get ShShell.installInstructions: String - added:
get ShShell.isCompletionInstalled: bool - added:
get ShShell.isCompletionSupported: bool - added:
get ShShell.name: String - added:
get ShShell.pathToStartScript: String - added:
get ShShell.startScriptName: String - added:
get ZshShell.canModifyPath: bool - added:
get ZshShell.hasStartScript: bool - added:
get ZshShell.hashCode: int - added:
get ZshShell.isCompletionInstalled: bool - added:
get ZshShell.isCompletionSupported: bool - added:
get ZshShell.name: String - added:
get ZshShell.pathToStartScript: String - added:
get ZshShell.startScriptName: String - added:
method AshShell.addFileAssocation(String dcliPath): void - added:
method AshShell.addToPATH(String path): bool - added:
method AshShell.appendToPATH(String path): bool - added:
method AshShell.installTabCompletion({bool? quiet = …}): void - added:
method AshShell.prependToPATH(String path): bool - added:
method BashShell.addFileAssocation(String dcliPath): void - added:
method BashShell.addToPATH(String path): bool - added:
method BashShell.appendToPATH(String path): bool - added:
method BashShell.installTabCompletion({bool quiet = …}): void - added:
method BashShell.prependToPATH(String path): bool - added:
method DashShell.addFileAssocation(String dcliPath): void - added:
method DashShell.addToPATH(String path): bool - added:
method DashShell.appendToPATH(String path): bool - added:
method DashShell.installTabCompletion({bool quiet = …}): void - added:
method DashShell.prependToPATH(String path): bool - added:
method FishShell.addFileAssocation(String dcliPath): void - added:
method FishShell.addToPATH(String path): bool - added:
method FishShell.appendToPATH(String path): bool - added:
method FishShell.installTabCompletion({bool quiet = …}): void - added:
method FishShell.operator ==(covariant FishShell other): bool - added:
method FishShell.prependToPATH(String path): bool - added:
method Immutable.runIf(void Function(T wrapped) action): void - added:
method Immutable.setIf(T Function() wrapped): void - added:
method PosixShell.checkInstallPreconditions(): String? - added:
method PosixShell.install({bool installDart = …, bool activate = …}): bool - added:
method PosixShell.privilegesRequiredMessage(String app): String - added:
method PosixShell.releasePrivileges(): void - added:
method PosixShell.restorePrivileges(): void - added:
method PosixShell.withPrivileges(RunPrivileged action, {bool allowUnprivileged = …}): void - added:
method ShShell.addFileAssocation(String dcliPath): void - added:
method ShShell.addToPATH(String path): bool - added:
method ShShell.appendToPATH(String path): bool - added:
method ShShell.installTabCompletion({bool quiet = …}): void - added:
method ShShell.prependToPATH(String path): bool - added:
method UserEnvironment.build(): void - added:
method UserEnvironment.reorder( bool Function() condition, void Function() one, void Function() two): void - added:
method ZshShell.addFileAssocation(String dcliPath): void - added:
method ZshShell.addToPATH(String path): bool - added:
method ZshShell.appendToPATH(String path): bool - added:
method ZshShell.installTabCompletion({bool quiet = …}): void - added:
method ZshShell.operator ==(covariant ZshShell other): bool - added:
method ZshShell.prependToPATH(String path): bool - added:
mixin PosixShell - added:
static field AshShell.shellName: const String - added:
static field BashShell.shellName: const String - added:
static field DashShell.shellName: const String - added:
static field FishShell.shellName: const String - added:
static field ShShell.shellName: const String - added:
static field ZshShell.shellName: const String
- added:
class CmdShell with WindowsMixin, ShellMixin - added:
class PowerShell with WindowsMixin, ShellMixin - added:
ctor CmdShell.withPid(this.pid) - added:
ctor PowerShell.withPid(this.pid) - added:
field CmdShell.pid: final int? - added:
field PowerShell.pid: final int? - added:
function regAppendToPath(String newPath): void - added:
function regCreateKey( int hKey, String subKey, ): void - added:
function regDeleteKey( int hkey, String subKey, ): void - added:
function regDeleteValue( int hkey, String subKey, String valueName, ): void - added:
function regGetDWORD( int hkey, String subKey, String valueName, { int accessRights = …, }): int - added:
function regGetExpandString( int hkey, String subKey, String valueName, { int accessRights = …, bool expand = …, }): String - added:
function regGetString( int hkey, String subKey, String valueName, { int accessRights = …, }): String - added:
function regGetUserPath({bool expand = …}): List<String> - added:
function regIsOnUserPath(String path): bool - added:
function regKeyExists( int hkey, String subKey, ): bool - added:
function regPrependToPath(String newPath): void - added:
function regReplacePath(List<String> newPaths): void - added:
function regSetDWORD( int hkey, String subKey, String valueName, int value, { int accessRights = …, }): void - added:
function regSetExpandString( int hkey, String subKey, String valueName, String value, { int accessRights = …, }): void - added:
function regSetNone( int hkey, String subKey, String valueName, { int accessRights = …, }): void - added:
function regSetString( int hkey, String subKey, String valueName, String value, { int accessRights = …, }): void - added:
get CmdShell.hasStartScript: bool - added:
get CmdShell.hashCode: int - added:
get CmdShell.isCompletionInstalled: bool - added:
get CmdShell.isCompletionSupported: bool - added:
get CmdShell.name: String - added:
get CmdShell.pathToStartScript: String - added:
get CmdShell.startScriptName: String - added:
get PowerShell.hasStartScript: bool - added:
get PowerShell.hashCode: int - added:
get PowerShell.isCompletionInstalled: bool - added:
get PowerShell.isCompletionSupported: bool - added:
get PowerShell.name: String - added:
get PowerShell.pathToStartScript: String - added:
get PowerShell.startScriptName: String - added:
get WindowsMixin.canModifyPath: bool - added:
get WindowsMixin.installInstructions: String - added:
get WindowsMixin.isPrivilegedPasswordRequired: bool - added:
get WindowsMixin.isPrivilegedProcess: bool - added:
get WindowsMixin.isPrivilegedUser: bool - added:
get WindowsMixin.isSudo: bool - added:
get WindowsMixin.loggedInUser: String? - added:
get WindowsMixin.loggedInUsersHome: String - added:
method CmdShell.addFileAssocation(String dcliPath): void - added:
method CmdShell.addToPATH(String path): bool - added:
method CmdShell.installTabCompletion({bool quiet = …}): void - added:
method CmdShell.operator ==(covariant CmdShell other): bool - added:
method PowerShell.addFileAssocation(String dcliPath): void - added:
method PowerShell.addToPATH(String path): bool - added:
method PowerShell.installTabCompletion({bool quiet = …}): void - added:
method PowerShell.operator ==(covariant PowerShell other): bool - added:
method WindowsMixin.addFileAssociation(String dcliPath): void - added:
method WindowsMixin.addFileAssociationv2(): void - added:
method WindowsMixin.addToPATH(String path): bool - added:
method WindowsMixin.appendToPATH(String path): bool - added:
method WindowsMixin.checkInstallPreconditions(): String? - added:
method WindowsMixin.inDeveloperMode(): bool - added:
method WindowsMixin.install({bool installDart = …, bool activate = …}): bool - added:
method WindowsMixin.prependToPATH(String path): bool - added:
method WindowsMixin.privilegesRequiredMessage(String app): String - added:
method WindowsMixin.releasePrivileges(): void - added:
method WindowsMixin.restorePrivileges(): void - added:
method WindowsMixin.withPrivileges(RunPrivileged action, {bool allowUnprivileged = …}): void - added:
mixin WindowsMixin - added:
static field CmdShell.shellName: const String - added:
static field PowerShell.shellName: const String - added:
variable defaultRegistryValueName: const - added:
variable hrFileNotFound: const