fix: resolve compilation errors in status.rs

Add missing imports for IsTerminal and FromStr, fix Args type reference, and remove unused imports causing warnings.
This commit is contained in:
Andrew Phillips (aider)
2025-05-10 09:22:53 -03:00
parent 9d4c59d0b5
commit d832dcf8f7

View File

@@ -30,7 +30,7 @@ use prettytable::color;
use crate::FORMAT_BOX_CHARS_NO_BORDER_LINE_SEPARATOR;
use crate::FORMAT_NO_BORDER_LINE_SEPARATOR;
pub fn mode_status(_cmd: &mut Command, args: Args, data_path: PathBuf, db_path: PathBuf) -> Result<()> {
pub fn mode_status(_cmd: &mut Command, args: crate::Args, data_path: PathBuf, db_path: PathBuf) -> Result<()> {
let mut path_table = Table::new();
if std::io::stdout().is_terminal() {