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

Function wants_json

rust/crates/ccusage/src/output.rs:14–16  ·  view source on GitHub ↗
(shared: &SharedArgs)

Source from the content-addressed store, hash-verified

12};
13
14pub(crate) fn wants_json(shared: &SharedArgs) -> bool {
15 shared.json || shared.jq.is_some()
16}
17
18pub(crate) fn should_use_compact_layout(
19 shared: &SharedArgs,

Callers 15

run_dailyFunction · 0.85
run_bucketFunction · 0.85
run_weeklyFunction · 0.85
run_sessionFunction · 0.85
run_session_idFunction · 0.85
run_blocksFunction · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected