Return the current project path. CLI session scope is intentionally cwd-only.
()
| 324 | |
| 325 | /// Return the current project path. CLI session scope is intentionally cwd-only. |
| 326 | fn setup_workspace() -> Option<String> { |
| 327 | let workspace_path = std::env::current_dir().ok(); |
| 328 | tracing::info!("Workspace path set: {:?}", workspace_path); |
| 329 | workspace_path.map(|p| p.to_string_lossy().to_string()) |
| 330 | } |
| 331 | |
| 332 | fn terminal_scripts_dir() -> std::path::PathBuf { |
| 333 | CliConfig::config_dir() |
no test coverage detected