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

Function print_success

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

Print a success message to stdout. The message is formatted in green with a checkmark prefix. # Arguments `message` - The message to print # Example ```rust,ignore print_success("Repository initialized successfully!"); // Output: ✓ Repository initialized successfully! ```

(message: &str)

Source from the content-addressed store, hash-verified

83/// // Output: ✓ Repository initialized successfully!
84/// ```
85pub fn print_success(message: &str) {
86 println!("{} {}", success("✓"), success(message));
87}
88
89/// Print an error message to stderr.
90///

Callers 15

runMethod · 0.85
run_pushMethod · 0.85
run_popMethod · 0.85
apply_stashMethod · 0.85
run_dropMethod · 0.85
run_clearMethod · 0.85
runMethod · 0.85
print_resultsMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected