entryWorkingDirectory top-level property
Directory
entryWorkingDirectory
The working directory (cwd) from which the cli run method was started
Can be useful in case a command has changed the current working directory and the initial working directory is needed
Nested calls to the cli run method may return different directories
Implementation
Directory get entryWorkingDirectory =>
_entryWorkingDirectory ?? Directory.current;