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

Interface CliConfig

rust/crates/ccusage-cli/src/types.rs:233–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233pub trait CliConfig {
234 fn apply_shared(&self, _shared: &mut SharedArgs) {}
235
236 fn apply_daily_args(&self, _args: &mut DailyArgs) {}
237
238 fn apply_weekly_args(&self, _args: &mut WeeklyArgs) {}
239
240 fn apply_blocks_args(&self, _args: &mut BlocksArgs) {}
241
242 fn apply_statusline_args(&self, _args: &mut StatuslineArgs) {}
243
244 fn apply_agent_args(
245 &self,
246 _codex_speed: &mut CodexSpeed,
247 _pi_path: Option<&mut Option<String>>,
248 _open_claw_path: Option<&mut Option<String>>,
249 ) {
250 }
251}
252
253pub struct NoConfig;
254

Callers 1

Implementers 3

config.rsrust/crates/ccusage/src/config.rs
types.rsrust/crates/ccusage-cli/src/types.rs
tests.rsrust/crates/ccusage-cli/src/tests.rs

Calls

no outgoing calls

Tested by

no test coverage detected