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

Function clap_command_definition_is_valid

atomic-cli/src/main.rs:1064–1066  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1062 /// agent-native help transformation is applied.
1063 #[test]
1064 fn clap_command_definition_is_valid() {
1065 Cli::command().debug_assert();
1066 }
1067
1068 /// The agent-help walk must produce a structurally valid clap tree.
1069 /// `debug_assert` catches duplicate flags, bad templates, and the like,

Callers

nothing calls this directly

Calls 1

commandFunction · 0.85

Tested by

no test coverage detected