feat(cli): rework query to use new input handler

Co-authored-by: Will Lillis <will.lillis24@gmail.com>
This commit is contained in:
Amaan Qureshi 2025-01-03 04:13:13 -05:00 committed by Will Lillis
parent 6bad1bc6c5
commit 88d2f010f5
3 changed files with 189 additions and 108 deletions

View file

@ -1,4 +1,4 @@
use std::fs;
use std::{fs, path::Path};
use anyhow::{anyhow, Result};
use bstr::{BStr, ByteSlice};
@ -224,7 +224,7 @@ pub fn parse_position_comments(
pub fn assert_expected_captures(
infos: &[CaptureInfo],
path: &str,
path: &Path,
parser: &mut Parser,
language: &Language,
) -> Result<usize> {