pub fn require_directory(path: &Path, command: &str) -> Result<()>Expand description
Validate that path exists and is a directory, producing clear error
messages on failure.
command is the CLI subcommand name (e.g. "hubs") used to make the
error message specific.