Get the current workspace path for this CLI process.
(&self)
| 270 | |
| 271 | /// Get the current workspace path for this CLI process. |
| 272 | pub fn workspace(&self) -> Option<String> { |
| 273 | if self.workspace_display.is_empty() { |
| 274 | None |
| 275 | } else { |
| 276 | Some(self.workspace_display.clone()) |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | /// Get the current CLI config after startup-page edits. |
| 281 | pub fn config(&self) -> &CliConfig { |
no test coverage detected