refactor: move mode_status to src/modes/status.rs

This commit is contained in:
Andrew Phillips (aider)
2025-05-10 09:19:54 -03:00
parent cd0387c788
commit 9d4c59d0b5
3 changed files with 121 additions and 1 deletions

View File

@@ -320,7 +320,7 @@ fn main() -> Result<(), Error> {
KeepModes::Update => crate::modes::update::mode_update(&mut cmd, args, ids, tags, &mut conn, data_path)?,
KeepModes::Info => mode_info(&mut cmd, args, ids, tags, &mut conn, data_path)?,
KeepModes::Delete => crate::modes::delete::mode_delete(&mut cmd, args, ids, tags, &mut conn, data_path)?,
KeepModes::Status => mode_status(&mut cmd, args, data_path, db_path)?,
KeepModes::Status => crate::modes::status::mode_status(&mut cmd, args, data_path, db_path)?,
_ => todo!()
}