(args: &[String])
| 681 | } |
| 682 | |
| 683 | fn blocks_command_tokens(args: &[String]) -> bool { |
| 684 | let tokens = command_tokens(args); |
| 685 | matches!( |
| 686 | tokens.as_slice(), |
| 687 | [command, ..] if command == "blocks" |
| 688 | ) || matches!( |
| 689 | tokens.as_slice(), |
| 690 | [agent, command, ..] if agent == "claude" && command == "blocks" |
| 691 | ) |
| 692 | } |
| 693 | |
| 694 | fn unsupported_agent_report_error(args: &[String]) -> Option<String> { |
| 695 | let tokens = command_tokens(args); |
no test coverage detected