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

Function print_hint

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

Print a hint/suggestion message to stdout. The message is formatted in dim style, typically used for guiding users on what to do next. # Arguments `message` - The hint message to print # Example ```rust,ignore print_hint("Run 'atomic add ' to track new files"); ```

(message: &str)

Source from the content-addressed store, hash-verified

195/// print_hint("Run 'atomic add <file>' to track new files");
196/// ```
197pub fn print_hint(message: &str) {
198 if live::capture(live::Kind::Info, message) {
199 return;
200 }
201 println!("{}", hint(message));
202}
203
204// Structured Output Helpers
205

Callers 15

runMethod · 0.85
run_applyMethod · 0.85
run_showMethod · 0.85
runMethod · 0.85
print_resultsMethod · 0.85
runMethod · 0.85
runMethod · 0.85
recordFunction · 0.85
view_listFunction · 0.85
doctor_checkFunction · 0.85

Calls 1

captureFunction · 0.70

Tested by

no test coverage detected