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

Function print_hint

atomic-cli/src/output/mod.rs:198–203  ·  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

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

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