MCPcopy Create free account
hub / github.com/ccusage/ccusage / help_text_for_tokens

Function help_text_for_tokens

rust/crates/ccusage-cli/src/help.rs:55–57  ·  view source on GitHub ↗
(tokens: &[String])

Source from the content-addressed store, hash-verified

53}
54
55fn help_text_for_tokens(tokens: &[String]) -> String {
56 find_help_page(tokens).map_or_else(root_help_text, render_help_page)
57}
58
59fn find_help_page(tokens: &[String]) -> Option<&'static HelpPage> {
60 HELP_PAGES.iter().find(|page| {

Callers 1

help_text_for_argsFunction · 0.85

Calls 1

find_help_pageFunction · 0.85

Tested by

no test coverage detected