(subcommand: &FunctionSubCommand)
| 540 | } |
| 541 | |
| 542 | pub fn function(subcommand: &FunctionSubCommand) { |
| 543 | let functions = FunctionDispatcher::new(); |
| 544 | match subcommand { |
| 545 | FunctionSubCommand::List { function_name, output_format } => { |
| 546 | list_functions(&functions, function_name.as_ref(), output_format.as_ref()); |
| 547 | }, |
| 548 | } |
| 549 | } |
| 550 | |
| 551 | #[allow(clippy::too_many_lines)] |
| 552 | pub fn resource(subcommand: &ResourceSubCommand, progress_format: ProgressFormat) { |
no test coverage detected