1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Output sink abstraction shared by direct-mode CLI and the daemon
//! worker. Every `run_*` command in `commands/` writes results through a
//! `&dyn JobSink` so the same code paths produce stdout text in direct
//! mode and broadcast events in daemon mode.
use crateProgressUpdate;
/// Direct-mode sink: writes to the inherited stdout and to `tracing`.
/// Progress updates are absorbed (direct mode wires the progress bar
/// separately through `download::spawn_progress_renderer`).
;