()
| 60 | } |
| 61 | |
| 62 | fn 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 | } |
nothing calls this directly
no test coverage detected