MCPcopy Create free account
hub / github.com/devflowinc/trieve / main

Function main

pdf2md/cli/src/main.rs:62–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62fn main() {
63 let args = Cli::parse();
64
65 match args.command {
66 Some(Commands::Create(create)) => {
67 create_task(&create.file, &args.base_url, &args.api_key);
68 }
69 Some(Commands::Poll(poll)) => {
70 poll_task(&poll.task_id, &args.base_url, &args.api_key);
71 }
72 None => {
73 println!("No command provided");
74 }
75 }
76}

Callers

nothing calls this directly

Calls 3

parseFunction · 0.85
poll_taskFunction · 0.85
create_taskFunction · 0.50

Tested by

no test coverage detected