Skip to main content

Module cli_tools

Module cli_tools 

Source
Expand description

Core CLI Tools Module

Shared logic for CLI and MCP tools. These functions encapsulate the business logic for searching, finding callers, and exploring files. Both the CLI and MCP interfaces use these functions to avoid duplication.

Re-exports§

pub use deps::format_deps_output;
pub use deps::run_deps;
pub use explore_file::format_file_entities;
pub use explore_file::run_explore_file;
pub use find_callers::format_reference_entry;
pub use find_callers::format_references_result;
pub use find_callers::run_find_callers;
pub use repos::format_repos_output;
pub use repos::run_list_repos;
pub use search_hybrid_context::SearchContext;
pub use search_hybrid_context::run_search_hybrid_context;
pub use subgraph::DEFAULT_MAX_NODES;
pub use subgraph::SubgraphQueryParams;
pub use subgraph::run_get_subgraph;

Modules§

deps
Core deps logic shared between CLI and MCP.
explore_file
Core explore_file logic shared between CLI and MCP
find_callers
Core find_callers logic shared between CLI and MCP
formatters
Output formatters for CLI and MCP tools.
repos
Core repos logic shared between CLI and MCP.
search_hybrid_context
Core search_hybrid_context logic shared between CLI and MCP
subgraph
Core get_entity_subgraph logic shared between CLI and MCP.