use crate::utils::error::Error;
use crate::formatter::format_output;
use crate::scanner::scanner;
pub async fn scan<'a>(full_url: String) -> Result<String, Error> {
let status_scanned_url = scanner(&full_url).await?;
let formatted_output = format_output(status_scanned_url, full_url);
Ok(formatted_output)
}