Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
pub(crate) fn wants_json(shared: &SharedArgs) -> bool {
15
shared.json || shared.jq.is_some()
16
}
17
18
pub(crate) fn should_use_compact_layout(
19
shared: &SharedArgs,
Callers
15
run_daily
Function · 0.85
run_bucket
Function · 0.85
run_weekly
Function · 0.85
run_session
Function · 0.85
run_session_id
Function · 0.85
run_blocks
Function · 0.85
run
Function · 0.85
run
Function · 0.85
run
Function · 0.85
run
Function · 0.85
run
Function · 0.85
run
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected