pub fn resolve_target(
workspace: Option<&Path>,
project: Option<&str>,
) -> Result<(PathBuf, ScopeOrigin)>Expand description
Resolve workspace from --workspace or --project (mutually exclusive at clap level).
Returns (canonical_path, how_it_was_selected).