MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / run

Method run

atomic-cli/src/commands/query/mod.rs:203–218  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

201
202impl Command for Query {
203 fn run(&self) -> CliResult<()> {
204 match &self.command {
205 QueryCommands::Search(cmd) => cmd.run(),
206 QueryCommands::Neighbors(cmd) => cmd.run(),
207 QueryCommands::Callers(cmd) => cmd.run(),
208 QueryCommands::Entities(cmd) => cmd.run(),
209 QueryCommands::Index(cmd) => cmd.run(),
210 QueryCommands::Code(cmd) => cmd.run(),
211 QueryCommands::Graph(cmd) => cmd.run(),
212 QueryCommands::Embed(cmd) => cmd.run(),
213 QueryCommands::Reindex(cmd) => cmd.run(),
214 QueryCommands::Enrich(cmd) => cmd.run(),
215 QueryCommands::Ask(cmd) => cmd.run(),
216 QueryCommands::Plan(cmd) => cmd.run(),
217 }
218 }
219}
220
221// ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 15

find_repository_rootFunction · 0.85
writeFunction · 0.85
emit_dotFunction · 0.85
emit_htmlFunction · 0.85
temp_dirFunction · 0.85
is_supportedFunction · 0.85
search_contentFunction · 0.85
has_content_indexFunction · 0.85
build_content_indexFunction · 0.85
update_content_indexFunction · 0.85
content_index_statsFunction · 0.85
create_spinnerFunction · 0.85

Tested by

no test coverage detected