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

Function info

atomic-cli/src/output/colors.rs:232–234  ·  view source on GitHub ↗

Format an informational message in cyan. Use this for informational messages, tips, and neutral status updates. # Arguments `text` - The text to format # Returns A styled object that displays in cyan when printed. # Example ```rust,ignore println!("{}", colors::info("Processing files...")); ```

(text: D)

Source from the content-addressed store, hash-verified

230/// println!("{}", colors::info("Processing files..."));
231/// ```
232pub fn info<D: std::fmt::Display>(text: D) -> StyledObject<D> {
233 style(text).cyan()
234}
235
236/// Format a hint/suggestion message in dim style.
237///

Callers 3

print_name_statusMethod · 0.85
test_info_returns_styledFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_info_returns_styledFunction · 0.68