Skip to content

Commit f7a845e

Browse files
Alex HolmbergAlex793x
authored andcommitted
feat: added public refferences to main methods for mcp access
1 parent 09d2aff commit f7a845e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ fn is_version_newer(current: &str, latest: &str) -> bool {
336336
false
337337
}
338338

339-
fn handle_analyze(
339+
pub fn handle_analyze(
340340
path: std::path::PathBuf,
341341
json: bool,
342342
detailed: bool,
@@ -483,7 +483,7 @@ fn handle_support(
483483
Ok(())
484484
}
485485

486-
async fn handle_dependencies(
486+
pub async fn handle_dependencies(
487487
path: std::path::PathBuf,
488488
licenses: bool,
489489
vulnerabilities: bool,
@@ -735,7 +735,7 @@ async fn handle_dependencies(
735735
Ok(())
736736
}
737737

738-
async fn handle_vulnerabilities(
738+
pub async fn handle_vulnerabilities(
739739
path: std::path::PathBuf,
740740
severity: Option<SeverityThreshold>,
741741
format: OutputFormat,
@@ -1068,7 +1068,7 @@ fn display_technologies_summary(technologies: &[DetectedTechnology]) {
10681068
}
10691069
}
10701070

1071-
fn handle_security(
1071+
pub fn handle_security(
10721072
path: std::path::PathBuf,
10731073
mode: SecurityScanMode,
10741074
include_low: bool,

0 commit comments

Comments
 (0)