pub fn handle_query_command( cmd: &QueryCommand, input_path: &str, entry: Option<&str>, ) -> Result<(), String>