pub fn command_path_from_inspect( document: &InspectDocument, command: &Command, ) -> Result<String, CoreError>