use prettytable::{format::consts::FORMAT_NO_LINESEP_WITH_TITLE, row, table, Table};
pub async fn create_module_table() -> Table {
let mut table = table!();
let titles = row!["Name", "Requester", "Extractor", "Is Generic?"];
table.set_format(*FORMAT_NO_LINESEP_WITH_TITLE);
table.set_titles(titles);
table
}
pub async fn create_scan_result_item_table() -> Table {
let mut table = table!();
let titles = row!["Subdomain", "IP"];
table.set_format(*FORMAT_NO_LINESEP_WITH_TITLE);
table.set_titles(titles);
table
}