MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / start

Method start

atomic-cli/src/commands/review/progress.rs:11–25  ·  view source on GitHub ↗
(json: bool)

Source from the content-addressed store, hash-verified

9
10impl Thinking {
11 pub(super) fn start(json: bool) -> Self {
12 Self(
13 enabled(
14 json,
15 std::io::stdout().is_terminal(),
16 std::io::stderr().is_terminal(),
17 std::env::var("TERM").is_ok_and(|term| term == "dumb"),
18 )
19 .then(|| {
20 crate::output::progress::create_spinner(
21 "Analyzing recorded syntax, semantic relationships and metrics...",
22 )
23 }),
24 )
25 }
26}
27
28impl Drop for Thinking {

Callers

nothing calls this directly

Calls 4

enabledFunction · 0.85
stdoutFunction · 0.85
stderrFunction · 0.85
create_spinnerFunction · 0.85

Tested by

no test coverage detected