pwd top-level property
String
get
pwd
The folder your app is working in.
Setting it also moves TerminalCommand.directory, so commands run there too. The folder must exist.
Implementation
String get pwd => Directory.current.path;
set
pwd
(String path)
Implementation
set pwd(String path) {
Directory.current = path;
TerminalCommand.directory = Directory.current.path;
}