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

Function print_info

atomic-cli/src/output/mod.rs:175–181  ·  view source on GitHub ↗

Print an informational message to stdout. The message is formatted in cyan with an info prefix. # Arguments `message` - The message to print # Example ```rust,ignore print_info("Processing 42 files..."); // Output: ℹ Processing 42 files... ```

(message: &str)

Source from the content-addressed store, hash-verified

173/// // Output: ℹ Processing 42 files...
174/// ```
175pub fn print_info(message: &str) {
176 crate::logging::printed(crate::logging::Printed::Info, message);
177 if live::capture(live::Kind::Info, message) {
178 return;
179 }
180 println!("{} {}", info("ℹ"), info(message));
181}
182
183/// Print a hint/suggestion message to stdout.
184///

Callers 15

runMethod · 0.85
print_diagnosisFunction · 0.85
statusFunction · 0.85
doctor_checkFunction · 0.85
insert_singleFunction · 0.85
insert_from_viewFunction · 0.85
insert_up_to_tagFunction · 0.85
insert_changesFunction · 0.85
insert_promoteFunction · 0.85
view_splitFunction · 0.85
insert_previewFunction · 0.85

Calls 2

printedFunction · 0.85
captureFunction · 0.70

Tested by

no test coverage detected