fix: add missing ColumnType/TableFormat imports and re-export

This commit is contained in:
Andrew Phillips (aider)
2025-05-10 14:05:09 -03:00
parent da47077b08
commit e0e00f13af
3 changed files with 6 additions and 2 deletions

View File

@@ -1,9 +1,9 @@
use humansize::{FormatSizeOptions, BINARY};
use log::debug;
use prettytable::format::TableFormat;
use regex::Regex;
use std::collections::HashMap;
use std::env;
use anyhow::anyhow;
pub fn get_meta_from_env() -> HashMap<String, String> {
debug!("MAIN: Getting meta from KEEP_META_*");

View File

@@ -1,4 +1,5 @@
use crate::Alignment;
use crate::modes::common::ColumnType;
use crate::db::{
get_item, get_item_last, get_items, get_items_matching, get_item_tags, get_item_meta, Item, Meta, Tag,
@@ -63,6 +64,7 @@ pub fn mode_list(
table.set_format(*prettytable::format::consts::FORMAT_CLEAN);
let list_format = args.options.list_format.split(",");
use crate::modes::common::ColumnType;
let mut title_row = row!();

View File

@@ -1,4 +1,6 @@
pub mod common;
pub mod common {
pub use super::common::*;
}
pub mod delete;
pub mod get;
pub mod info;