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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user