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

Method next

rust/crates/ccusage-cli/src/arg_parser.rs:29–33  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

27 }
28
29 pub(crate) fn next(&mut self) -> Option<String> {
30 let value = self.args.get(self.index)?.clone();
31 self.index += 1;
32 Some(value)
33 }
34
35 pub(crate) fn next_flag(&mut self) -> Result<String, String> {
36 self.pending_value = None;

Callers 10

parse_all_commandFunction · 0.45
parse_claude_commandFunction · 0.45
parse_agent_report_kindFunction · 0.45
is_program_nameFunction · 0.45
next_flagMethod · 0.45
value_forMethod · 0.45
visible_widthFunction · 0.45
truncate_visibleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected